IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Getting an abend (I/O abend was trapped) only in one machine


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
SkydiveFreak007

New User


Joined: 23 Feb 2022
Posts: 5
Location: Germany

PostPosted: Mon Feb 28, 2022 3:29 pm
Reply with quote

Hi,

I'm using a bash-script which makes a cleanup from a program-log.
It creates a PAX.Z file and copies it to a dataset.
Therefore I use the command:

cp -W "seqparms='RECFM=FB,LRECL=4000'" /var/log/$prog/$oldYear/CW$oldKW.pax.Z "//'$exportDataset'"

This script works fine on 11 z/OS systems, but for one single machine I get this error:

cp: FSUM6260 write error on file "//'OPERAT.PROGLOG.Y2022.CW07.PAX.Z'": EDC5092I An I/O abend was trapped.

Since the script works on every other machine, do you know what else I can try?

Best regards
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 541
Location: London

PostPosted: Mon Feb 28, 2022 7:41 pm
Reply with quote

Is the failing system actually producing a log to process?

No idea what it means but the message manual indicates:

Explanation: An I/O abend has occurred during an I/O operation (open,
read, write, position, or close) and has been trapped.

System action: The I/O operation fails. The stream is marked in error and
all further I/O operations on this stream fail.

Programmer response: Check the __amrc structure defined in z/OS XL C/C++
Programming Guide for an explanation of the fields.

Symbolic Feedback Code: EDC4V4
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 782
Location: Pennsylvania

PostPosted: Mon Feb 28, 2022 9:41 pm
Reply with quote

Perhaps the user (id) does not have the proper authority(racf/acf2) to Alter or Update the dataset in question.

Check the JES SYSLOG at the time the script is being run.
Back to top
View user's profile Send private message
SkydiveFreak007

New User


Joined: 23 Feb 2022
Posts: 5
Location: Germany

PostPosted: Wed Mar 02, 2022 4:53 pm
Reply with quote

So I checked the userid - it have all the rights.

It seems that the file is way to big and the standard parameters which were used by not defining any were to small.

It needs to be tested.

Thank you for your help
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
No new posts S722 abend and ESTAE ABENDS & Debugging 1
No new posts ABEND=04E FOR REASON=00E50013 DB2 4
Search our Forums:

Back to Top