Tape File copy using FileAid in Batch



Compuware's data management products: File-AID for IMS, File-AID/MVS, File-AID for DB2 and DBA-XPERT for DB2

Tape File copy using FileAid in Batch

Postby Analyst_Kumar » Tue Nov 24, 2015 10:51 am

Hi,

I am using the following JCL to copy a TAPE file to DISK.

//STEP1   EXEC PGM=FILEAID,REGION=0M
//STEPLIB DD DSN=....
//DD01     DD DSN=INPUT-FILE,DISP=SHR
//DD01O   DD DSN=OUTUT-FILE,DISP=OLD
//SYSIN     DD *
$$DD01  COPY PADCHAR=X'00'
/*


Now the Question is, The Input file is very big file and I don't need full copy of the file.
I just need a small chunk of data, i.e., TODAY's data. In SORT, I can write the code as below. How to achieve the same using FILEAID in a single step.

SORT FIELDS=COPY
INCLUDE COND=(3,8,CH,EQ,C'20151117')
Analyst_Kumar
 
Posts: 3
Joined: Fri May 29, 2015 9:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Tape File copy using FileAid in Batch

Postby Robert Sample » Tue Nov 24, 2015 6:09 pm

The File Aid Batch Reference Manual has an entire chapter on record and member selection. While it would be easy to quote that manual, it will be better for you in the long run if you go find this manual (if your site is licensed for File Aid, your site has the manuals available somewhere -- hardcopy, internal web site, or by downloading from the vendor's web site) and read the chapter for yourself. We are here to help you with issues, not to read the manual for you.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to File-AID

 


  • Related topics
    Replies
    Views
    Last post