select with parameters from file
Posted: Wed Jul 09, 2014 5:15 pm
Hello,
i need to execute a Select into a JCL.
I have a parameter into a file.
The file has N records and the parameter is at position 600.
For each record i need to execute the select.
If the Select returns +100 (not found) and must execute another SELECT.
If the second Select returns +100 (not found), i must to replace a DATA field (of the same record) as 01.01.0001 (dd.mm.yyyy) at position X.
How can i do?
Thank you.
i need to execute a Select into a JCL.
I have a parameter into a file.
The file has N records and the parameter is at position 600.
For each record i need to execute the select.
If the Select returns +100 (not found) and must execute another SELECT.
If the second Select returns +100 (not found), i must to replace a DATA field (of the same record) as 01.01.0001 (dd.mm.yyyy) at position X.
How can i do?
Thank you.