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

Using Field names in FILEAID Batch COPY function


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
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
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

Global Moderator


Joined: 21 Sep 2010
Posts: 2727
Location: NYC,USA

PostPosted: Wed Jun 29, 2016 10:11 pm
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: 8578
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 29, 2016 11:35 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. copy file 2 data into file1 for match... DFSORT/ICETOOL 4
No new posts Mainframe batch Job or REXX to get VT... CLIST & REXX 7
No new posts Unable to retrieve Datasets Names usi... CLIST & REXX 20
No new posts How to read unpacked field created in... DFSORT/ICETOOL 12
No new posts Negative value - packed field - Natur... Java & MQSeries 0
Search our Forums:

Back to Top