Need a JCL code

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
ashwinigupta269@gmail.com
Member
Posts: 5
Joined: Wed Nov 12, 2014 3:59 pm
Location: HYDERABAD

Need a JCL code

Post by ashwinigupta269@gmail.com » Wed Nov 12, 2014 4:10 pm

Acctual fields:
Agent of Record : Agent of Record PIC X(08)
E-mail Address : EMAIL-DLVR-STATUS PIC X(30).
E-mail Delivered Dtstmp : EMAIL-DLVR-DTSTMP PIC X(26).
Converted Status Code : EMAIL-SENT-DTSTMP PIC X(26).


(1) ICMST.FFV.SCJEFAT.DATAFILE.IN
Agent of Record : Agent of Record PIC X(08)
E-mail Address : EMAIL-DLVR-STATUS PIC X(30).
Converted Status Code : EMAIL-SENT-DTSTMP PIC X(26).

(2) ICMST.FFV.SCJEFAT.SENTFILE.IN
Agent of Record : Agent of Record PIC X(08)
E-mail Address : EMAIL-DLVR-STATUS PIC X(30).
Converted Status Code : EMAIL-SENT-DTSTMP PIC X(26).

(3) ICMST.FFV.SCJEFAT.ATTAFILE.IN
Agent of Record : Agent of Record PIC X(08)
E-mail Address : EMAIL-DLVR-STATUS PIC X(30).
E-mail Delivered Dtstmp : EMAIL-DLVR-DTSTMP PIC X(26).
Converted Status Code : EMAIL-SENT-DTSTMP PIC X(26).

(4) Compare 2 and 3
o/p should be : Formatted Files 2 & 3

(5) compare 1 and 4
o/p should be : Combined Formatted Files 1-2-3

Please help me on this.

Thank You!!
Ashwini
Ashwini

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Wed Nov 12, 2014 5:12 pm

Need some representative sample input and expected output.

What is used for the match? Which, if any, of the files are already in that order?

ashwinigupta269@gmail.com
Member
Posts: 5
Joined: Wed Nov 12, 2014 3:59 pm
Location: HYDERABAD

Post by ashwinigupta269@gmail.com » Thu Nov 13, 2014 11:00 am

Function 10
Last edited by ashwinigupta269@gmail.com on Thu Nov 13, 2014 2:57 pm, edited 1 time in total.
Ashwini

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Thu Nov 13, 2014 12:31 pm

You'd best hope that a Moderator gets to that quickly and deletes it.

Read what you were asked, and reflect on the possible implications of you posting email addresses of real people, within your organisation and of your clients, and of revealing business-related informaiton publucly.

If you are able to Edit that (look for button at top right of your post) then delete all the text as quick as you can.

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Fri Dec 26, 2014 3:10 pm

Totally unclear as to what you want to do. However, Job Control Language cannot do it - it only tells the OS which programs you want to run and the resources required by each. So, decide which program you want to run and post your queery in the approprite section of the forum.
Regards
Nic

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