Download SELCOPY Manual
Transcript
Further Information This Section gathers together the smaller topics of further information, and is split under the following headings: Information on larger topics are given sections of their own. These are: VSAM, IMS, DL1, DB2, ADABAS, AS/400, UNIX & PC and CMS. Nesting of Operation Words The THENIF and ELSEIF statements may be nested to a level not exceeding 64 at any one point. IF AND AND condition 1 condition 2 condition 3 THENIF condition 4 OR condition 5 OR condition 6 THEN THEN THEN THENIF condition 7 AND condition 8 AND condition 9 OR condition 10 THEN (Action if 1 2 and 3 all true) (Action if any of 4 5 6 is true) ( " ) ( " ) ( " ) ( ELSEIF (Action if 7, 8 and 9 all true,) or 10 is true. ) condition 11 (Action for 7-10 failure) condition 12 THEN (Action if 11 & 12 both true) AND ELSE THEN THEN ELSE THEN ELSE THEN THEN (Action for 11 or 12 failure) ( " ) ( " ) (Action for 4 5 & 6 failure, but 1 2 & 3 success) ( " ) (Action for 1 2 or 3 failure) ( " ) ( " ) Please ensure that each ELSE is matched with the required IF, using ELSE DUMMY where appropriate. Abbreviations and Synonyms For the SELCOPY user who frequently keys in his own control statements, uses them, and then discards them because there are not enough to justify filing, the following abbreviations are supported. Abbreviated and full length keywords may be mixed at will. Abbrev/ Synonym Full Name Abbrev/ Synonym Full Name Abbrev/ Synonym Full Name A AND IN READ PGNO UXPGNO ADA ADABAS IN= INCOUNT= PK= PACK= APP APPEND INDEXED ISAM POS=* POS @ ASSGN MOD INPUT READ POS=L POS=LRECL B= BLKSIZE= INS INSERT PR PRINT BLK= BLKSIZE= IS ISAM PRT PRINT CARD PUNCH ISRT INSERT PUT WRITE CL= CLOSE= ISN REC PW= PAGEWIDTH= CMS SYSTEM IX ISAM QUIT CANCEL CO= CYLOFL= KEQ= KEY= R REPORT COMRG COMREG KEYLOC= KEYPOS= RANDOM GEN CVA CVEA= KF= KEYFROM= RD READ CVB CVPB= KL= KEYLEN= REC= INCOUNT= 2014-08-07 10:16:24 SELCOPY Manual 204