Author: sergeyken
Posted: Wed Sep 07, 2016 10:34 pm (GMT 5.5)
1. This code
would cause SYNTAX ERROR, and it is senseless.
Please clarify more clearly the roles of KKK, QQQ, and 333?
2. Parameters for SORT can be passed as follows
but the statements under SYSIN DD * are absolutely senseless from SORT syntax point of view...![icon_rolleyes.gif]()
_________________
Tyrannosaurus-REXX
Posted: Wed Sep 07, 2016 10:34 pm (GMT 5.5)
1. This code
Code: |
SORT FIELDS=COPY INREC IFTHEN=(WHEN=(8,3,CH,EQ,C'KKK')), OUTREC OVERLAY=(WHEN=(47,3,EQ,C'QQQ')), BUILD=(47,3,C'333') |
would cause SYNTAX ERROR, and it is senseless.
Please clarify more clearly the roles of KKK, QQQ, and 333?
2. Parameters for SORT can be passed as follows
Code: |
//PARMSORT EXEC PGM=SORT,PARM='JP1"KKK",JP2"QQQ",JP3"333"' ï
//SYSOUT DD SYSOUT=*ï //SYMNOUT DD SYSOUT=*ï //SORTIN DD . . . . . . . . . ï //SORTOUT DD SYSOUT=*ï //SYSIN DD * ï SORT FIELDS=COPY INREC IFTHEN=(WHEN=(8,3,CH,EQ,JP1)), OUTREC OVERLAY=(WHEN=(47,3,EQ,JP2)), BUILD=(47,3,JP3) |
but the statements under SYSIN DD * are absolutely senseless from SORT syntax point of view...

_________________
Tyrannosaurus-REXX