EDC5122I Input/output error. (errno2=0x0540011C)

Discussion of the free COZBATCH utility for z/OS
Post Reply
jlbowen
Posts: 1
Joined: Fri Feb 15, 2019 9:53 am

EDC5122I Input/output error. (errno2=0x0540011C)

Post by jlbowen » Fri Feb 15, 2019 12:51 pm

Anyone know where to find what this means?
We are running COZBATCH trying to FETCH a file from a server using the following options:
ZosSettings: Transfer options: clientcp=IBM-1047,mode=text,servercp=ISO8859-1,trim
to a zOS dataset:
//DOWNLD01 DD DSN=TEST.BWJ.PRODVIEW.DT0215,
DISP=(,CATLG,DELETE),DATACLAS=M10,
DCB=(LRECL=50,BLKSIZE=5000,RECFM=FB)

Then receive these messages:
ZosDataset: Opening dataset DD:DOWNLD01 for write
ZosDataset[W]: dataset seek not permitted
ZosDataset[W]: dataset seek not permitted
ZosDataset[W]: dataset seek not permitted
ZosDataset[W]: dataset seek not permitted
ZosDataset[W]: dataset seek not permitted
ZosDataset[W]: dataset seek not permitted
[81.062] debug1: truncating at 327680
[81.063] Couldn't write to "//DD:DOWNLD01": EDC5122I Input/output error. (errno2=0x0540011C)
ZosDataset: Closing dataset //TEST.BWJ.PRODVIEW.DT0214 - 327680 bytes received, 10368 records written

My colleague that normally takes care of this is on medical leave. Any help would be greatly appreciated!

Jeff Bowen

dovetail
Site Admin
Posts: 1879
Joined: Thu Jul 29, 2004 12:12 pm

Re: EDC5122I Input/output error. (errno2=0x0540011C)

Post by dovetail » Wed Mar 27, 2019 11:02 am

This problem looks to be caused by bad FXP_DATA packets being received from the remote server.
When doing a "get" (download) in the Co:Z SFTP client where the target is a data set, Co:Z SFTP will send FXP_READ packets to the remote server where each one reads data sequentially. The "ZosDataset[W]: dataset seek not permitted " errors means that a packet was received out of sequence.

Post Reply