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 is the difference between a binary search and a sequential search?
where will we code call by content and call by reference dude pls reply soon ?
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
how will u find out 3rd week's 2nd day using occurs ?
IF I mention stop run in CICS what happens?
wht is structured cobol pgm and non structred cobol pgm ?
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
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.
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?