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

Batch Copy using FileAid control cards


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts Use Copy Utility DB2 7
No new posts Dynamically build sort control statem... SYNCSORT 18
Search our Forums:

Back to Top