I got user abend U4038 while compiling my runjcl..
can anyone help me?

Answers were Sorted based on User's Feedback



I got user abend U4038 while compiling my runjcl.. can anyone help me?..

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

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

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

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

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

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

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

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

Answer / sravan

DD name missing

Is This Answer Correct ?    12 Yes 10 No

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

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

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

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

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

Answer / rp

Please check the LRECL, if wrong record lengths are given U4038 abend comes.

Is This Answer Correct ?    4 Yes 5 No

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

Answer / rk

Please check the lengths declearsd in JCL(DCB parameters)
and Cobol program

Is This Answer Correct ?    3 Yes 5 No

I got user abend U4038 while compiling my runjcl.. can anyone help me?..

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

Post New Answer

More COBOL Interview Questions

where will u code file status ?

2 Answers   TCS,


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 Answers  


what is the difference between Plan & package?

1 Answers   IBM,


If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....

1 Answers   HCL,


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,






What is the difference between static call & Dynamic call?

2 Answers   CSC, TCS,


01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?

6 Answers   L&T,


what are the working storage fields in BMS macro?

2 Answers   IBM,


If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,


What is COMP-1? COMP-2?

4 Answers   CitiGroup,


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

2 Answers   IBM, Steria,


Difference between ps, esds

3 Answers  


Categories