Merge 2 files from different position

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
R78916
Member
Posts: 1
Joined: Wed Jun 24, 2015 12:31 pm

Merge 2 files from different position

Post by R78916 » Wed Jun 24, 2015 3:09 pm

Hi

Can anybody suggest to merge 2 files from different position in each file.

Ex:
Input file: F1
Field1 Data1
Field2 Data2
Field3 Data3
Field4
Field5
Field6

Input file: F2
Field1
Field2
Field3
Field4 Data4
Field5 Data5
Field6 Data6

Output File:

Data1 Data2 Data3 Data4 Data5 Data6

Could you someone help on this.

Chesterlu
Member
Posts: 2
Joined: Thu Sep 03, 2015 1:25 pm
Contact:

Post by Chesterlu » Thu Sep 03, 2015 1:35 pm

Unexpected stories that are coming out this form.

Post Reply

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



Other References
Mainframe Tools and others