ABENDED S000 U4038



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

ABENDED S000 U4038

Postby nameexists » Mon Nov 26, 2012 5:43 pm

Below are some of the Changes I have made on my cobol program, but I am now getting a " ABENDED S000 U4038 " on my Run JCL.
jcl.jpg


This is the error I am getting in my SDSF SYSOUT

********************************* TOP OF DATA **********************************
IGZ0201W A file attribute mismatch was detected. File IN-FILE in program C1202230 had a record length of 84 and the file specified in the ASSIGN clause had a record length of 80.
IGZ0035S There was an unsuccessful OPEN or CLOSE of file ICREDIT in program C1202230 at relative location X'0AF4'. Neither FILE STATUS nor an ERROR declarative were specified. The status code was 39. From compile unit C1202230 at entry point C1202230 at compile unit offset +00000AF4 at entry offset +00000AF4 at address 1A200AF4
******************************** BOTTOM OF DATA ********************************
You do not have the required permissions to view the files attached to this post.
nameexists
 
Posts: 9
Joined: Mon Nov 12, 2012 5:41 pm
Has thanked: 1 time
Been thanked: 0 time

Re: ABENDED S000 U4038

 

Re: ABENDED S000 U4038

Postby enrico-sorichetti » Mon Nov 26, 2012 5:58 pm

do not post screenshots, they just clutter the posted message and do not help
a plain text cut and paste with the code tags would have been more than enough
( the colors and the fonts used make the image quite unreadable )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2775
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 147 times

Re: ABENDED S000 U4038

Postby Robert Sample » Mon Nov 26, 2012 6:02 pm

1. NONE of the data you posted has any relevance to the error you got -- so why did you post useless junk?

2. This error message tells you EVERYTHING you need to know to (a) understand the problem, and (b) fix the problem:
IGZ0201W A file attribute mismatch was detected. File IN-FILE in program C1202230 had a record length of 84 and the file specified in the ASSIGN clause had a record length of 80.
Since you posted nothing about IN-FILE, there's not much we can do to help you -- there are a number of possibilities:
- you computed the record length of IN-FILE wrong
- your JCL has the wrong record length
- you could have mixed up variable length and fixed length record information
- etc
- etc
- etc
Robert Sample
Global moderator
 
Posts: 3524
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 251 times

Re: ABENDED S000 U4038

Postby Ed Goodman » Mon Nov 26, 2012 8:33 pm

You see how you added REPORT-SPEND-TO-DATE? You see how it's four bytes long? You see how the error message says one thing is 80 bytes while the other is 84?

My guess here is that you added a field to the report line, increasing its length by four bytes. If so, you need to accommodate that field when you write out the file. So in your JCL, you need to increase the lrecl to match the new record length.
Ed Goodman
 
Posts: 342
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post