DISK: Selection Criteria definition over 72 characters
search cancel

DISK: Selection Criteria definition over 72 characters

book

Article ID: 260101

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS

Issue/Introduction

Below a DISK DSCL sample where the SELECT CRI Statement ends in column 63 and it perfectly works :  

 SCAN REALVOLS                                                    
 SELECT SGNAME=(XSYS,PSYS),                                       
  CRI=(MCNAME,NE,<TMP0>,AND,MODBIT,EQ,ON,AND,VOLSEQNO,EQ,1,AND,   
   ZFS,EQ,NO)                                                     
  BACKUP RETPD=30                                                 

How to code the  SELECT CRI statement in a way that makes selection going beyond 72 characters .

Environment

Release :  

Resolution

 It is possible to span the SELECT CRITERIA in multiple lines, so no problem if the whole CRITERIA text is longer than 72 chars, the most important thing is that every line should end with a ',' (with a comma) .

Disk knows that the CRITERIA spans from the 1st '(' up to the last ')' where every physical line within the () ends with a comma.

Additional Information

techdoc link for reference:

Control Statements