View previous topic :: View next topic
|
Author |
Message |
jruiza
New User
Joined: 31 Aug 2005 Posts: 23
|
|
|
|
Hi,
I am having storage problems with a dataset. I am not remembering the tos command to comprime a dataset space.
Please help.
Thanks in advance,
Jordi |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What do you mean by comprime ? (My dictionary returned nothing...)
If you want to COMPRESS a data set, here are the 2 most common methods:
1) Use IEBCOPY to copy the PDS to itself.
2) Use ISPF option Z against the PDS from 3.4 screen.
O. |
|
Back to top |
|
|
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
ANS : USING JCL
//H49COMPR JOB 'TEST','COMPRESS',CLASS=2,MSGCLASS=W,
//NOTIFY=&SYSUID,
//STEP001 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=H49$.SYNTEL.CDM.WORK,DISP=SHR
//SYSIN DD *
COPY INDD=SYSUT1,OUTDD=SYSUT1
/*
ANS: USING TSO COMMAND
STEP 1: TYPE Z BEFORE THE DATASET NAME IN 3.4 OPTION |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
u can type "RLSE" for the removing of unused space aganist the dataset in 3.4 option. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
There is no RLSE line command in ISPF 3.4. It's probably some local program. You can see all the valid ISPF 3.4 line commands in the fine manual.
O. |
|
Back to top |
|
|
bonniem
New User
Joined: 09 Aug 2005 Posts: 67
|
|
|
|
RLSE is coded in JCL. The equivalent ISPF command is Free, just issue F against the dataset.
But this does not compress a dataset, this simply frees the unused space. |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
try once in ur mainframes sesion against any one of the dataset |
|
Back to top |
|
|
bonniem
New User
Joined: 09 Aug 2005 Posts: 67
|
|
|
|
Try what? RLSE does not work in 3.4, well at least in my shop. |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy,
then RLSE is probably self-written, but this does not matter...
pls note: if there is an enqueue on your dataset,
the only chance to compress a pds, is to use iebcopy
on itself (i.e. inputfile and outputfile is the same).
if you have a pds/e you cannot compress. you must
allocate a new one and copy all the members into it!
if after compress, the problem still exists, you must allocate
a new dataset with gretaer space amount and copy all members into it.
don't forget the necessary directory blocks.
martin9 |
|
Back to top |
|
|
prasanth_thavva
New User
Joined: 28 Jul 2005 Posts: 86 Location: Chennai
|
|
|
|
hi ,
Z doesn't work when the dataset in use only the IEBCOPY works always because for dataset you will give DISP=shr...
Thanks and Regards,
Venkata Prasnath
Infy |
|
Back to top |
|
|
|