jcl utilities
Posted: Fri Apr 06, 2018 3:54 pm
Hi ALL,
I have a urgent requirement. Could anyone help me on this issue.
1. I have 2 input file 1st input file have record length 12156 and 2nd file have 80 record length.
So i want to compare a string from 2nd file to 1st file. I know the position of string in file 2. but i don't know the position of string in 1 nd file (but i know the range where i will get the string) . So can i compare this file. ? using jcl utilities
Input 2 file
Account No (position 18,length 16)
1234567891231415
1451114555512233
INPUT 1 file (Position 235 - 2000 in between i will find that string )
Note - String vary from 235-2000.
A BC CS 1234567891231415
A C 1451114555512233
A B 145111455551245
I need output file
if record match in 1 file i have write all the record with all the fields(fields length is 12156 .
OUTPUT FILE
A BC CS 1234567891231415
A C 1451114555512233
I have a urgent requirement. Could anyone help me on this issue.
1. I have 2 input file 1st input file have record length 12156 and 2nd file have 80 record length.
So i want to compare a string from 2nd file to 1st file. I know the position of string in file 2. but i don't know the position of string in 1 nd file (but i know the range where i will get the string) . So can i compare this file. ? using jcl utilities
Input 2 file
Account No (position 18,length 16)
1234567891231415
1451114555512233
INPUT 1 file (Position 235 - 2000 in between i will find that string )
Note - String vary from 235-2000.
A BC CS 1234567891231415
A C 1451114555512233
A B 145111455551245
I need output file
if record match in 1 file i have write all the record with all the fields(fields length is 12156 .
OUTPUT FILE
A BC CS 1234567891231415
A C 1451114555512233