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
 

 

Using Field names in FILEAID Batch COPY function

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

New User


Joined: 08 Aug 2011
Posts: 5
Location: India

PostPosted: Wed Jun 29, 2016 9:54 pm    Post subject: Using Field names in FILEAID Batch COPY function
Reply with quote

Hi,

Can we use field names in FILEAID batch JCL in COPY function instead of giving the start position and length?

I have a very huge file and its copybook layout with hundreds of fields. I frequently need to run an extract on this file to give specific values to specific fields and then extract specific fields based on the business users needs. I have done this in foreground but need to see if we can do the same function in a batch JCL where I can provide the copybook library and the layout name and extract the details by using the field names.

Any help is greatly appreciated!
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Wed Jun 29, 2016 10:11 pm    Post subject:
Reply with quote

I am not sure of FILEAID but guess you can not create a report with more than 132 bytes but certainly you can do with SORT but you will have to play with offsets or SAS.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Wed Jun 29, 2016 11:35 pm    Post subject:
Reply with quote

Have you read the manual to see what is possible with batch File Aid?
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 Performing arithmetic on input field zh_lad DFSORT/ICETOOL 20 Tue Dec 06, 2016 8:04 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm


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