View previous topic :: View next topic
|
Author |
Message |
Pacific_13
New User
Joined: 21 Oct 2008 Posts: 2 Location: Pune
|
|
|
|
Hi All,
When I copy one member from one PDS to another using IEBCOPY... it shows PACK ON in the PDS to which the member is copied.
Coz of this I am not able to run the fileaid on that PDS as it says, that
ER447-UPDATE OF PDF PACKED DATA NOT ALLOWED.
Please suggest me, what to do in this case?
I have to use IEBCOPY for this and I cant use 3.3 or "C" option. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
why do you have to use IEBCOPY? Who mandated that you must use a tool that can not accomplish the task you need to do? IEBCOPY does not unpack ISPF packed data. Use ISPF or if you need to run this in batch, use the LMCOPY service of ISPF in batch. |
|
Back to top |
|
|
Pacific_13
New User
Joined: 21 Oct 2008 Posts: 2 Location: Pune
|
|
|
|
I am working on automating a process, for which I need to copy a memeber in a PDS to the same PDS but in different name
for e.g a PDS A.B.C is having a member as abc123, then my need is to copy abc123 to A.B.C(abc456)
hope i am clear. Please suggest me if there is any other way to do this other than IEBCOPY |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
I have tried:
Code: |
//COPY1 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//INOUT DD DISP=SHR,DSN=A.B.C
//SYSIN DD *
COPY OUTDD=INOUT,INDD=INOUT
SELECT MEMBER=((abc123,abc456,R)) |
It worked with PACK ON as well as with PACK OFF.
Is this the format you use?
For me, PDSFAST is running whenever I execute IEBCOPY, so I cannot know how the original utility is behaving. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
Pacific_13 wrote: |
Please suggest me if there is any other way to do this other than IEBCOPY |
I already gave two ways to do it, one (technically both) of which can be done in batch. |
|
Back to top |
|
|
|