Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us