I meant to say that ** COPYMOD ** in IEBCOPY no longer defaults to MXBLK=32670. 
COPY isn't going to reblock at all, which is fine if your output library's 
blocksize is equal to or greater than the largest text record in the input.

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Schmitt, Michael
Sent: Tuesday, October 28, 2025 9:55 AM
To: [email protected]
Subject: Re: Load module copy - ISPF or IEBCOPY

I'll take a shot, and then the others can tell me where I'm wrong...

* Your input is telling IEBCOPY to reblock the modules -- that's the difference 
between COPY (which may be used with modules) and COPYMOD
* ISPF module copy does not reblock
* Scatter-load modules are not reblocked by COPYMOD, hence the error

What is your input and output blocksizes? Are you really trying to reblock to 
32760?

Note that IEBCOPY no longer defaults to MAXBLK=32670. The default now is the 
output library's blocksize.

https://www.ibm.com/docs/en/zos/2.5.0?topic=program-copying-reblocking-load-modules


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Jake Anderson
Sent: Monday, October 27, 2025 11:41 PM
To: [email protected]
Subject: Load module copy - ISPF or IEBCOPY

Hello

Is there any difference between ISPF copy and IEBCOPY load module copy ?

I tried running IEBCOPY with copymod operation with replace option but it
still ends with return code 04.

The only one message is different in log was that
IEB19CI member XXXXXX copied AS IS without reblocking,  format is
scatter-load . ********* MEMBER WAS NOT REBLOCKED **********


Syntax I used was

COPYMOD INDD=SYSUT1,OUTDD=SYSUT2,MAXBLK=32760
SELECT MEMBER=((XXXXXXX,,R))

Even though the module got copied but why did it ended with return code =04
with any specific error mesaage ?

Jake

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to