Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

TSO command to comprime

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: TSO command to comprime
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: 2360
Location: Israel

PostPosted: Mon Feb 20, 2006 8:13 pm    Post subject:
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    Post subject: YOU MEAN TO SAY COMPRESSING THE DATASETS
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: 309
Location: Vizag / US

PostPosted: Tue Feb 21, 2006 10:00 pm    Post subject: Re: TSO command to comprime
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: 2360
Location: Israel

PostPosted: Tue Feb 21, 2006 10:20 pm    Post subject:
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    Post subject:
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: 309
Location: Vizag / US

PostPosted: Wed Feb 22, 2006 7:39 pm    Post subject:
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    Post subject:
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: 288
Location: Basel, Switzerland

PostPosted: Fri Mar 10, 2006 6:57 pm    Post subject:
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    Post subject: compress datasets
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us