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
 

 

how to remove the free space from the file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Vijay Shankar

New User


Joined: 24 Oct 2008
Posts: 16
Location: Bangalore

PostPosted: Tue May 26, 2009 12:10 pm    Post subject: how to remove the free space from the file
Reply with quote

How to remove the free space from the file which are unused.

My requirement is that i wrote a job which will take the backup of around 50-60 input files using sort and create the same number of output files. but when the input file is empty it will create the empty backup file. so i want to remove the extra space which will taken by the empty file. i can't do it manually to delete all the empty backup file.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue May 26, 2009 12:14 pm    Post subject:
Reply with quote

Why not code the RLSE parameter in the JCL

Have you considered using DFdss as the backup tool, it is specifically de3signed for backups and recovery
Back to top
View user's profile Send private message
Vijay Shankar

New User


Joined: 24 Oct 2008
Posts: 16
Location: Bangalore

PostPosted: Thu May 28, 2009 10:39 am    Post subject: lifetime retention tape backup
Reply with quote

Hi ,

I have to take the whole region backup into a tape, that should be

life time retention.

Below is my job, can you please let me know need to give any storage class

=========================
//ADRDSSU1 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//BACKUP1 DD DSN=UEWDVAE.V823.FINAL.PHASE1.BACKUP,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SILO,VOL=(,,,20),
// DCB=(RECFM=VB,LRECL=32760,BLKSIZE=0)
//SYSIN DD *
DUMP -
DATASET( -
INCLUDE( -
YEWVPGE.** -
)) -
OUTDDNAME(BACKUP1) -
TOL(ENQF) -
SPHERE -
OPT(4) -
SHR
/*
==================================
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 28, 2009 11:30 am    Post subject:
Reply with quote

The need to specify a storage class is purely site specific.

You need to talk to your storage management people to get the correct answer.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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