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

PACK ON Problem


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pacific_13

New User


Joined: 21 Oct 2008
Posts: 2
Location: Pune

PostPosted: Sat Aug 01, 2009 3:34 pm
Reply with quote

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
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Sun Aug 02, 2009 7:25 am
Reply with quote

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
View user's profile Send private message
Pacific_13

New User


Joined: 21 Oct 2008
Posts: 2
Location: Pune

PostPosted: Sun Aug 02, 2009 12:37 pm
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Aug 02, 2009 8:28 pm
Reply with quote

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
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Mon Aug 03, 2009 8:22 am
Reply with quote

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
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Need to add field to copybook, proble... COBOL Programming 14
Search our Forums:

Back to Top