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 do u know what version of cobol u are using?
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.
WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
State the various causes of s0c1, s0c5 and s0c7.
1)what is use of linkage section? 2)what is difference between comp and comp-3
What is the difference between SEARCH and SEARCH ALL?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.