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: 1742
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: 8132
Location: East Dubuque, Illinois, USA

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 Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am
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


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