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

Unpack a PDS


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

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Wed Apr 14, 2010 2:51 pm
Reply with quote

Hi,
Can anyone suggest me how to unpack a pds?
I know we can unpack a member using PROF than PACK OFF command.
But if PDS contain 1000 member than this solution is not feasible.
Can anyone suggest alternate.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 14, 2010 3:11 pm
Reply with quote

I would suggest a REXX that edits each member of the PDS and executes an ISPF edit macro to issue the PACK OFF command.
Back to top
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Wed Apr 14, 2010 3:14 pm
Reply with quote

Could you please eloberate how can i achieve in rexx??
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 14, 2010 3:50 pm
Reply with quote

Click HERE to see a helpful topic.

What you will need to do is to to put the main rexx exec into a PDS, and also include the following line after the first line
"ALTLIB ACTIVATE APPL(EXEC) DA('Your PDS')"

And

"ALTLIB DEACTIVATE APPL(EXEC)" as the last line.

The macro which goes in the same library is very similar to what you would type for each member
Code:
"ISREDIT MACRO"
"ISREDIT PACK OFF"
"ISREDIT END"


Then you just type EX next to the main exec in 3.4 and off you go.

It gets a little more complicated in batch, but the online exec shouldn't take more than 5 minutes at most to process the whole PDS.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 14, 2010 7:28 pm
Reply with quote

see
ibmmainframes.com/viewtopic.php?t=25947&highlight=
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Fri Apr 16, 2010 7:07 pm
Reply with quote

Try renaming it, then reallocating a new PDS with pack off, then copy all members.
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 Pack to Unpack conversion for sending... COBOL Programming 13
No new posts Unpack 'PACK ON' dataset via job? TSO/ISPF 2
No new posts SORT to unpack a feild DFSORT/ICETOOL 7
No new posts Unpack COMP/COMP-3 fields COBOL Programming 6
No new posts How to Unpack the Packed decimal data... COBOL Programming 5
Search our Forums:

Back to Top