Hello,
I'd like to know if I can use SyncSORT to check if a file exists. If the file does not exist, create it. If it already exists, copy it to a new dataset name. The purpose of doing this would be to generate in input file for my COBOL program in the next job step regardless if the input file exists or not. I can do this in multiple job steps using IDCAMS, but I was hoping to see if SyncSORT had similar functionality that can accomplish this in one step.
Input file attributes:
Record length = 500 bytes
Fixed length
I attempted to do something like this, but I received the following error:
"SORTIN - DATA SET NOT FOUND".
Any information you can provide would be greatly appreciated.