Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us