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
 

 

Batch Copy using FileAid control cards

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Fri May 19, 2006 8:26 pm    Post subject: Batch Copy using FileAid control cards
Reply with quote

I am trying to Copy certain records that have 'INSERT' in any columns in a particular Record. I am using the File Aid Control card,
Code:
$$DD01 COPY IF=(CO,EQ,C'INSERT')

Obviously its not correct, its expecting the 'Position' in the 1st field instead of 'CO' Contains. I would appreciate if someone could give me the correct Syntax, I remember having done this previuosly. Also if there is a way of doing this using SYNCSORT, let me know.
Back to top
View user's profile Send private message

unicorn

New User


Joined: 29 May 2006
Posts: 3

PostPosted: Wed May 31, 2006 2:41 pm    Post subject: Re: Batch Copy using FileAid control cards
Reply with quote

The following SORT card should help you assuming your file length is 80.

SORT FIELDS=COPY
INCLUDE COND=(1,80,SS,EQ,C'INSERT')
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Batch job tunning sgandhla Testing & Performance analysis 0 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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