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

FileAid Copy - Model


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Tue Jul 08, 2008 12:26 pm
Reply with quote

Hi,

I need to backup 50 Datasets.

Ex : ABCD.EFGH will be backed up to MyID.ABCD.EFGH.BKP.

Since, the no. of datasets are plenty, I am planning to submit a Batch Fileaid job for taking backups of all 50 Datasets in one go - 50 Steps.

Each of these 50 datasets have different record lengths and Block sizes / parameters.

Is there an option (like 'MODEL' in VSAM) such that the Ouptut dataset takes in the DCB properties of the Input dataset provided within each step of the JCL ? This will prevent me from having to specifying DCB parameters for each of the Ouput datasets in each of the 50 steps.

Thanks in advance.

Thanks,
Karthik.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Jul 08, 2008 1:22 pm
Reply with quote

Hello,

I'd suggest you use something other than fileaid. . .

Your best bet would be to ask your storage management admins for their recommendation on which availability utility to use.

DFDSS or FDR come to mind. . .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Jul 08, 2008 5:02 pm
Reply with quote

Hi,

If all the DSNs are on DASD & the back-up is being taken on DASD itself, you might use the below code, without wasting much sapce:
Code:

//STEP1OF1 EXEC PGM=IEBGENER                                   
//STATOUT  DD SYSOUT=*                                         
//SYSPRINT DD SYSOUT=*   
//SYSUDUMP DD SYSOUT=*                                         
//SYSOUD   DD SYSOUT=*                                         
//SYSOUT   DD SYSOUT=*                                         
//SYSIN    DD DUMMY                                             
//SYSUT1   DD DISP=SHR,DSN=file.to.copy
//SYSUT2   DD DSN=backued.up.file
//            DISP=(NEW,CATLG,DELETE),                         
//            DCB=*.SYSUT1       <--- DCB CHARACTERISCS OF INPUT


coding BLKSIZE=0 in output might help further in saving the space, not tested yet though.


To find what consequences can come when you code DCB=*SYSUT1, you can check below link:

www.ibmmainframes.com/viewtopic.php?t=23225&highlight=sysut1
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Jul 08, 2008 8:27 pm
Reply with quote

Hi Anuj,

That will take one step per file. Most places/people do not want a separate step per fle.

To create a wholesale backup, other utilities perform far faster than gener and with much more flexibility.

The storage admins can provide direction on which utiltiy is used in that particular environment.
Back to top
View user's profile Send private message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Thu Jul 10, 2008 10:22 am
Reply with quote

Thanks a ton all. The IEBGENER Solution really helped. I had to repeat it for 50 datasets though. Will check with the Admin guys for any particular utility used for wholesale backup.

Thanks,
Karthik.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Thu Jul 10, 2008 10:26 am
Reply with quote

Quote:
I need to backup 50 Datasets.

what' s wrong in using DFDSS....
unless You used the wrong terms and simply wanted to copy something
even in this case a DFDSS copy with the additional parameter RENAMU

will provide the same result, in a single step, with better performance
Back to top
View user's profile Send private message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Thu Jul 10, 2008 11:29 am
Reply with quote

Hi Enrico,

Will it be possible for you to supply an JCL ?

I found this. How do i modify it and what SYSIN Control Satement should i Use ? Do i used DUMP, COPY of COPYDUMP. Am not able to find any info on RENAMU. Can you please assist ?

//JS10 EXEC PGM=ADRDSSU, DFDSS PROGRAM NAME
// PARM=parms... <== SEE PARM DESCRIPTIONS BELOW
//STEPCAT DD DSN=...,DISP=SHR OPTIONAL USER CATALOG
(CAN ALSO USE JOBCAT)
//SYSPRINT DD SYSOUT=* DFDSS MESSAGES WRITTEN HERE
//input DD DSN=...,DISP=SHR OPTIONAL INPUT DATA SET
//output DD DSN=...,DISP=SHR OPTIONAL OUTPUT DATA SET
//filter DD DSN=...,DISP=SHR OPTIONAL DATA SET SELECTION CARDS
//password DD DSN=...,DISP=SHR OPTIONAL DATA SET/PASSWORD CARDS
//SYSIN DD * SORT CONTROL CARD DATA SET
DFDSS control statements
/*

Thanks,
Karthik.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Thu Jul 10, 2008 11:35 am
Reply with quote

here is a pointer to the manual page

http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/DGT2U261/7.2?DT=20080128192112

it was a typo, should have been RENAMEU
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts DB2 Image Copy DFSMS MGMTCLAS Partial... DB2 2
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts Use Copy Utility DB2 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 17
Search our Forums:


Back to Top