I got user abend U4038 while compiling my runjcl..
can anyone help me?
Answers were Sorted based on User's Feedback
Answer / sadaf reahan
U4038 Abend comes when cobol compiler dont find the stop
run.
Just check your program and see Stop Run is at correct
place and program is terminating.
Is This Answer Correct ? | 27 Yes | 7 No |
Answer / nnn
There are many reasons to give U4038. Here are common
reasons.
1. DD name missing
2. File status
Is This Answer Correct ? | 25 Yes | 9 No |
Answer / mahesh
code region parameter in your job card, for example code
"REGION=0M"in your job card and check once.
Is This Answer Correct ? | 14 Yes | 5 No |
Answer / shrishail
During declaring the DCB parameters in the JCL we are
mentioning RECF=FB but during the creation of PS we are
specifying the RECF=V then U4038 abend will come.
I have got many times this abend in my company.
Is This Answer Correct ? | 9 Yes | 6 No |
Answer / geoffrey
This USER return code is often associated with the
following error, for example:
IGZ0037S The flow of control in program PROG8 proceeded
beyond the last line of the program.
This is a missing STOP RUN in a COBOL program named, for
example, PROG8.
Is This Answer Correct ? | 6 Yes | 5 No |
Answer / abhishekd
Please check your input file. All the input should pass the
condition whatever may be imposed on them.
There may be one or more inputs which may be wrong as per
the criteria. this is also one case for u4038
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rp
Please check the LRECL, if wrong record lengths are given U4038 abend comes.
Is This Answer Correct ? | 4 Yes | 5 No |
Answer / rk
Please check the lengths declearsd in JCL(DCB parameters)
and Cobol program
Is This Answer Correct ? | 3 Yes | 5 No |
Answer / mani
It is a user abend which means there could be some mistake
in the jcl and it may not be syntax but runtime.
Check the jcl once again.
Is This Answer Correct ? | 1 Yes | 10 No |
how we rectify soc7 and soc4 errors in project?
how to display comp3 variables reply soon ?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
what is the difference between implicit and explicit scope terminator with example?
how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........
can we redefine 77 level item is it possible
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?