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 |
What are the access modes of START statement?
What do you feel makes a good program?
can anyone explain me the concept of COMP-4 PLEASE??
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
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
Whats the difference between search & search ALL?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?
I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?
i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..