GOOD DAY,
HELLO,
'M GOING THROUGH AN ERROR IN THE PROGRAM AS MAINFRAME COBOL SEGUIENTES.
when I run my job, I have this abend in SYSTSPRT
READY
DSN SYSTEM(DB2D)
DSN :
RUN PROGRAM(ES0111T) PLAN(SIASBAT) LIB('DES.V01.LOAD')
IKJ56641I DSN ENDED DUE TO ERROR+
IKJ56641I USER ABEND CODE 4038 REASON CODE 00000001
SYSOUT and I got this message:
IGZ0201W- A file attribute mismatch was detected. File ARQENTRA in program ES0111
file specified in the ASSIGN clause had a record length of 150.
IGZ0035S- There was an unsuccessful OPEN or CLOSE of file RETORNO in program ES01
Neither FILE STATUS nor an ERROR declarative were specified. The status
From compile unit ES0111T at entry point ES0111T at compile unit offset
at address 0006E174.
WHAT CAN THIS GOING, SOMEONE HELP ME PLEASE.
Mainframe ABEND Code U4038
-
- Posts: 6
- Joined: Wed Jun 05, 2013 8:48 pm
- Skillset: I started COBOL ONLY SIX MONTHS,'M WORKING ONE MONTH IN THE AREA, I AM BEGINNER AND DESIRE TO LEARN A LOT ABOUT COBOL.
- Referer: google
-
- Posts: 125
- Joined: Thu Oct 11, 2012 10:24 pm
- Skillset: COBOL, OS JCL and Utilities, IMS DB/DC, CICS, VSAM, DB2, Librarian, Panvelet, Endevor, Clists/Panels, SDSF, JES, and Easytrieve Plus.
- Referer: Google search
Re: ABEND CODE 4038
Look at your program file DD-ARQENTRA and be sure it is setup for 150. Also be sure your file in your JCL is length 150.
I'm guessing your program has length of 150 but your input file is not length of 150.
I'm guessing your program has length of 150 but your input file is not length of 150.
Code: Select all
FD file-name
RECORDING MODE IS F
LABEL RECORDS ARE STANDARD
RECORD CONTAINS 150 CHARACTERS
BLOCK CONTAINS 0 RECORDS.
01 file-name-rec PIC X(150).
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: ABEND CODE 4038
You have two problems. The warning on DD name ARQENTRA indicates you have a record length mismatch of some sort.
You also got a file status 35 on DD name RETORNO indicates that you do not have this DD name in your JCL (or allocated to your TSO session). It could be present but mis-spelled, or not present at all.
You also got a file status 35 on DD name RETORNO indicates that you do not have this DD name in your JCL (or allocated to your TSO session). It could be present but mis-spelled, or not present at all.
-
- Posts: 6
- Joined: Wed Jun 05, 2013 8:48 pm
- Skillset: I started COBOL ONLY SIX MONTHS,'M WORKING ONE MONTH IN THE AREA, I AM BEGINNER AND DESIRE TO LEARN A LOT ABOUT COBOL.
- Referer: google
Re: ABEND CODE 4038
Robert Sample wrote:You have two problems. The warning on DD name ARQENTRA indicates you have a record length mismatch of some sort.
You also got a file status 35 on DD name RETORNO indicates that you do not have this DD name in your JCL (or allocated to your TSO session). It could be present but mis-spelled, or not present at all.
THANK YOU FOR RESPONSE, WHEN REALLY CHANGED THE JOB WENT NORMALLY.
- Akatsukami
- Global moderator
- Posts: 1058
- Joined: Sat Oct 16, 2010 2:31 am
- Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
- Referer: ibmmainframes
- Location: Bloomington, IL
- Contact:
Re: ABEND CODE 4038
Robert Sample wrote:You have two problems. The warning on DD name ARQENTRA indicates you have a record length mismatch of some sort.
You also got a file status 35 on DD name RETORNO indicates that you do not have this DD name in your JCL (or allocated to your TSO session). It could be present but mis-spelled, or not present at all.
A third problem is that the OP should have been made in the "ABENDS and SQL Codes" forum

"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: ABEND CODE 4038
Fourth problem - too much shouting (caps and bold).
Fifth - we had a similar problem the other day - OP did not read the forum rules and search before posting.
Moving.
Fifth - we had a similar problem the other day - OP did not read the forum rules and search before posting.
Moving.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0
- 2141
-
by MainframeCoder
View the latest post
Thu Oct 14, 2021 6:13 am
-
- 0
- 1816
-
by bwissink
View the latest post
Thu Sep 02, 2021 10:04 pm
-
- 3
- 1799
-
by Blackthorn
View the latest post
Fri Mar 05, 2021 9:34 pm
-
- 0
- 3132
-
by enrico-sorichetti
View the latest post
Fri Apr 01, 2022 6:00 pm
-
- 1
- 3861
-
by NicC
View the latest post
Tue Sep 15, 2020 5:37 pm