I am running a job that will be updating a control card via a program and this control card is having the Datasets that are to be FTPed to a particular folder, the issue iam facing is that whenever I run the job, the job abends with the rerurn code of 4038 and the file status 90 where it mentions that there has been an incorrect open/close of the FTP file, and it also mentions in the Abend-aid that the Timestamp of the doesnt match with the Program Listing. Could anyone tell me how is the timestamp related to the Program listing?
Joined: 06 Jun 2008 Posts: 8218 Location: Dubuque, Iowa, USA
Abend Aid verifies that your load module matches its listing before using the lisitng to display source code. The timestamp mismatch message is saying that the load module date/time is different from the listing date/time, which implies the program was compiled at a different date / time than the Abend Aid listing. Hence the source code may not remotely match the load module; this causes Abend Aid to issue the message. To fix this, find the DDIO file used to store the listing and ensure that DDIO is available to Abend Aid when looking at the abend.
As far as the 90 file status code is concerned, what does the SELECT, FD, and OPEN / CLOSE statements look like for the file -- and what does the file's DD statement look like?