In my JCL, The latest version is created in step 1 using the FTP pgm.
I need to use the latest version FTPed in the step 1 in the step 2. My doubt is what is the version that I should use to
refer the FTPed file in the step 1 of the same JCL.
Let my base GDG File name be F33555.FAILED.FILE
So, please tell if I have to use F33555.FAILED.FILE(+1) or F33555.FAILED.FILE(0) in the step 2.
If we are creating the file F33555.FAILED.FILE(+1) using the IDCAMS utility in the step 1, we can use the same file by refering to F33555.FAILED.FILE(+1) in step 2.
But in my case, we are FTPing the file with SYSOUT DD SYSOUT=* in step 1. So, what is version that I should use to refer to the FTPed file in the next steps.