Time Comparison using SORT in JCL

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
SixStep006
Member
Posts: 1
Joined: Thu May 05, 2016 7:17 pm

Time Comparison using SORT in JCL

Post by SixStep006 » Thu May 05, 2016 7:41 pm

I have a record with data over time and the time is captured now and then. eg:

wre 1250 tod now
rcte 1340 ehe doe
ddg 1320 geg the

the time is in julian and the record is over 200 lines. I need a sort to compare the current time with the time in the record and pull data only for the next 1 hour.

for example: if the current time is 1300 I need the sort to pull only data from 13:00 to 14:00 .

Kindly guide me. Thanks a lot

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