Date comarisons

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
nguttaha
Member
Posts: 1
Joined: Fri Jun 06, 2014 3:00 pm

Date comarisons

Post by nguttaha » Fri Jun 06, 2014 3:27 pm

Hi,
My input file is having 2 records and record details are below.
D01052014R XXXG P
HDR 010514 W xxxxxx.yyyyyyy 070514

In first condition i have to check (D01052014 &HDR 010514) dates with current date and here day should be always 01. If its matching then I have to modify the third date (070514) with current system date.

If this step fails then the job should abend.

Could you please some one help on this?

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