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

how we rectify soc7 and soc4 errors in project?

1 Answers   Anaxis, TCS,


how to display comp3 variables reply soon ?

4 Answers   Patni,


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?

6 Answers   Cognizant,


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  






what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


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...........

4 Answers   Wipro,


can we redefine 77 level item is it possible

4 Answers   HCL,


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

7 Answers   T systems,


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?

3 Answers   TCS,


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

0 Answers  


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


Categories