Can I please seek your advice on an issue. I am running a simple IDCAMS step. The SYSIN looks like this -
Now, this FILE1 is FTP'ed to Mainframe by an external entity. When I run my IDCAMS utility on the actual PS, it always shows this PS as non-existing with the below given error message.
IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-42
IDC1566I ** FILE1 NOT LISTED
But, if I make a new copy of this PS & run my IDCAMS on that, the step runs fine & acknowledges that the copied PS exists.
I am wondering why the same IDCAMS step is not able to find the actual PS but is able to find its copy.