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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm


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