MAINFRAME - TIP OF THE DAY :
When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
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.
no i have records.i inserted records from a ps to ksds.i am using alternate index key in select statement.but i am using the sequential read oly.l am not specifying the path name. will that affect my output by anyway?
Posted: Sun Jul 25, 2010 2:20 pm Post subject: 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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Cobol Tutorial This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial This Tutorial covers all important aspects of DFSORT. Has more SORT examples