abend code S000 U4038
Moderators: dbzTHEdinosauer, Moderator Group
-
- Member
- Posts: 15
- Joined: Thu Jul 22, 2010 12:32 pm
abend code S000 U4038
i have a query regarding the abend code.?i believe someone there to help me in solving this.my program gets abended with the code S000 U4038.
i tried all the ways that i could to solve this.but went in vain. i will provide some information regardig that which will help u to get where i am going wrong.
the program logic is to access the ksds file which has the subscription details of the customer. i can write the details in the ksds but i cant read it.while reading only i have got the abended. it also says the file status for the ksds while opening is 35. i have given all the file name perfectly still its getting abended .
steps i have tried.
i deleted the ksds and created new one tried inserting it.nogo.
i though it could be space requirement and copied all the programs in to different new pds and tried.still same error.
checked with the logic and there is no flaws in it.
i tried to read the ksds by the separate simple read program .its going in loop.still the same error 35.
now i dont have any option to go further.can anyone help to get it resolved?
thanks in advance.
i tried all the ways that i could to solve this.but went in vain. i will provide some information regardig that which will help u to get where i am going wrong.
the program logic is to access the ksds file which has the subscription details of the customer. i can write the details in the ksds but i cant read it.while reading only i have got the abended. it also says the file status for the ksds while opening is 35. i have given all the file name perfectly still its getting abended .
steps i have tried.
i deleted the ksds and created new one tried inserting it.nogo.
i though it could be space requirement and copied all the programs in to different new pds and tried.still same error.
checked with the logic and there is no flaws in it.
i tried to read the ksds by the separate simple read program .its going in loop.still the same error 35.
now i dont have any option to go further.can anyone help to get it resolved?
thanks in advance.
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Well, is your KSDS VSAM empty? And it looks like, it is.
Last edited by Anuj Dhawan on Sat Jul 24, 2010 2:31 pm, edited 1 time in total.
Regards,
Anuj
Anuj
-
- Member
- Posts: 15
- Joined: Thu Jul 22, 2010 12:32 pm
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
-
- Member
- Posts: 15
- Joined: Thu Jul 22, 2010 12:32 pm
i got it rectified
i got my problem resolved.
i have used the function integer-of-date which has the parameter from the file data. i also got open error 35 with the abend code.i checked with the select statement and i removed the alternate index key line since i am using only the sequential read of the file. before this i have given both the key lines and given only the cluster name in the runjcl. i believe when we declare the alternate index key in the select statement even if we are not accessing the file using alternate index we have to give the path name in runjcl. since i havent given the path name the file was not open and since the file was not open the argument for the function integer-of-date is taken a junk value and which resulted in the abend s000 u4038. is my assumption right?
thanks for replying me
i have used the function integer-of-date which has the parameter from the file data. i also got open error 35 with the abend code.i checked with the select statement and i removed the alternate index key line since i am using only the sequential read of the file. before this i have given both the key lines and given only the cluster name in the runjcl. i believe when we declare the alternate index key in the select statement even if we are not accessing the file using alternate index we have to give the path name in runjcl. since i havent given the path name the file was not open and since the file was not open the argument for the function integer-of-date is taken a junk value and which resulted in the abend s000 u4038. is my assumption right?
thanks for replying me
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page