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

TSO command to comprime


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

New User


Joined: 31 Aug 2005
Posts: 23

PostPosted: Mon Feb 20, 2006 8:10 pm
Reply with quote

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Feb 20, 2006 8:13 pm
Reply with quote

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
View user's profile Send private message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Tue Feb 21, 2006 4:03 pm
Reply with quote

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

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Tue Feb 21, 2006 10:00 pm
Reply with quote

u can type "RLSE" for the removing of unused space aganist the dataset in 3.4 option.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 21, 2006 10:20 pm
Reply with quote

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

New User


Joined: 09 Aug 2005
Posts: 67

PostPosted: Wed Feb 22, 2006 5:57 pm
Reply with quote

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

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Wed Feb 22, 2006 7:39 pm
Reply with quote

try once in ur mainframes sesion against any one of the dataset
Back to top
View user's profile Send private message
bonniem

New User


Joined: 09 Aug 2005
Posts: 67

PostPosted: Thu Feb 23, 2006 10:20 am
Reply with quote

Try what? RLSE does not work in 3.4, well at least in my shop.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 10, 2006 6:57 pm
Reply with quote

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

New User


Joined: 28 Jul 2005
Posts: 86
Location: Chennai

PostPosted: Tue Mar 14, 2006 10:09 am
Reply with quote

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
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top