Hi,
I have a PS file of LRECL=80, RECFM = FB.
Sample Data :
FIELD1 : RECEIVED
FIELD2 : RECEIVED
FIELD3 : NOT RECEIVED
FIELD4 : RECEIVED
FIELD5 : RECEIVED
The objective is to idenfity if any field is "Not Received".
Hence, my JCL would be something like..
//Step1
//Step2
....
...
//Step5 - Check if the file has the value as "Not received" for any field
//Step6 - Processing if "Not Received" is present in the file
//Step7 - Processing if "Not Received" is NOT present in the file
I had thought of setting a return code after Step5 based on which i could execute Step6/Step7.
However am unable to set the return code here.
Can someone help me on this ?
The Value "Received/Not Received" in the file begins at Position10.
Thanks,
Sam.