Author: Atul Banke
Subject: Using Field names in FILEAID Batch COPY function
Posted: Wed Jun 29, 2016 9:54 pm (GMT 5.5)
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!
Subject: Using Field names in FILEAID Batch COPY function
Posted: Wed Jun 29, 2016 9:54 pm (GMT 5.5)
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!