Compressing a PDS in rexx 
Author Message
 Compressing a PDS in rexx

Hi all,

I need to compress a PDS using REXX. I will be running this REXX in
batch mode. Can anyone help?

Thanks in advance,
ArunPrasath



Sun, 27 Mar 2005 02:20:37 GMT  
 Compressing a PDS in rexx

Quote:

> Hi all,

> I need to compress a PDS using REXX. I will be running this REXX in
> batch mode. Can anyone help?

> Thanks in advance,
> ArunPrasath

This is not really a REXX question.  Just submit a batch job with a
step like

//COMPR      EXEC  PGM=IEBCOPY,PARM=COMPRESS
//SYSPRINT   DD    SYSOUT=A
//SYSUT1     DD    DSN=<PDS_NAME>,DISP=SHR
//SYSUT2     DD    DSN=<PDS_NAME>,DISP=SHR
//SYSIN      DD    DUMMY

--
t o    s e n d    e - m a i l    u s e    ' R e p l y - T o '
o r    u n z i p    m y    ' F r o m '    a d d r e s s  ....



Sun, 27 Mar 2005 02:53:50 GMT  
 Compressing a PDS in rexx


Quote:
> Hi all,
> I need to compress a PDS using REXX. I will be running this REXX in
> batch mode. Can anyone help?

allocate dataset (to sysut1 ??), and allocate sysprint etc
call iebcopy

or use ispf services - I think there's an LMxxxxx service that does
compression...

--
Jeremy C B Nicoll - my opinions are my own.



Sun, 27 Mar 2005 02:48:07 GMT  
 Compressing a PDS in rexx


Quote:
>Hi all,

>I need to compress a PDS using REXX. I will be running this REXX in
>batch mode. Can anyone help?

See http://web.tampabay.rr.com/mvsrexx/REXX/squash.txt


Mon, 28 Mar 2005 10:34:15 GMT  
 Compressing a PDS in rexx
Assuming it will run in tso in batch (ikjeft01),
(adjust allocations as necessary, of course):
 /* REXX - compres dataset 'xxx.yyy' */
 "ALLOC F(SYSUT1) DA('XXX.YYY') REU SHR"
 "ALLOC F(SYSUT2) DA('XXX.YYY') REU SHR"
 "ALLOC F(SYSIN) DUMMY REUSE"          
 "ALLOC F(SYSPRINT) DA(*) REUSE"              
 "TSOEXEC IEBCOPY"                      


Quote:

>I need to compress a PDS using REXX. I will be running this REXX in
>batch mode. Can anyone help?



Mon, 28 Mar 2005 12:17:29 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. REXX/TSO to get PDS member SIZE from directory

2. A new REXX/ISPF pds comparison/maintenance utility

3. REXX MVS/TSO reading of PDS datasets(38,000 members) -Reply

4. REXX MVS/TSO reading of PDS datasets(38,000 members)

5. REXX MVS/TSO reading of PDS datasets(38,000 members) -Reply

6. REXX PDS member list under MVS

7. REXX-TSO PDS member info

8. REXX-TSO PDS member info (solution)

9. TSO-REXX PDS

10. REXX in WINDOWS/REXX Add-ins/VISUAL REXX ????

11. PDS Directory issue

12. Dynalloc for a PDS member

 

 
Powered by phpBB® Forum Software