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 |
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
hw to create 3 dimensional array & hw to access it?
how can we fetch 3 records in cobol pgm any coding pls ?
Why we should use cursor ?
) How do u handle errors in BMS macro
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
Differentiate between structured cobol programming and object-oriented cobol programming.
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
how the control comes back from subprogram to mainprogram
What is the difference between static call & Dynamic call?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why