COUNT and SYSIN
Posted: Tue Feb 19, 2019 5:25 pm
Hello,
i would like to get the line's numbre of a dataset and use it in a sysin :
//VERIFLNA EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//INDD DD DISP=SHR,DSN=DATASET.NOTEQUAL
//TOOLIN DD
COUNT FROM(INDD) NOTEQUAL(58)
The number 58 is the number of line of this dataset : DATASET.NUMBER
Thank's for your help.
i would like to get the line's numbre of a dataset and use it in a sysin :
//VERIFLNA EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//INDD DD DISP=SHR,DSN=DATASET.NOTEQUAL
//TOOLIN DD
COUNT FROM(INDD) NOTEQUAL(58)
The number 58 is the number of line of this dataset : DATASET.NUMBER
Thank's for your help.