Variable length block file
Posted: Fri Nov 19, 2021 1:14 am
Hi,
I have two sequential input files , one is variable length block (In-VB-File) and another is fixed block (In-FB-File). Logical record length of In-VB-File is 6104 (declared as 6100 bytes) and number of records are more than 2 millions and In-FB-File size is 93 bytes. My requirement is to read each record of the file In-FB-File and search in In-FB-File, if found , get the details of that record from In-FB-File and also take corresponding details from In-VB-File and write those into a Variable length block output file (Out-VB-File) of Logical record length 6174 (declared as 6171) bytes.
While executing the job I am getting file status 34 (boundaries violation ) while writing the output file
May I request someone to help me out with an example pls?
Regards
Singh
I have two sequential input files , one is variable length block (In-VB-File) and another is fixed block (In-FB-File). Logical record length of In-VB-File is 6104 (declared as 6100 bytes) and number of records are more than 2 millions and In-FB-File size is 93 bytes. My requirement is to read each record of the file In-FB-File and search in In-FB-File, if found , get the details of that record from In-FB-File and also take corresponding details from In-VB-File and write those into a Variable length block output file (Out-VB-File) of Logical record length 6174 (declared as 6171) bytes.
While executing the job I am getting file status 34 (boundaries violation ) while writing the output file
May I request someone to help me out with an example pls?
Regards
Singh