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
jcl utilities
Moderators: Frank Yaeger, Moderator Group
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page