Date validation query

IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS
Kiran V
Posts: 2
Joined: Thu Jun 29, 2017 3:54 pm
Skillset: PL1
Cobol
JCL
DB2
Referer: website

Date validation query

Postby Kiran V » Fri Jun 30, 2017 3:09 pm

Any logic in PL/I to check new date is valid for current month..ex-not 31st april???

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

Re: Date validation query

Postby prino » Fri Jun 30, 2017 4:29 pm

Ever thought about RTFM? PL/I has lots of builtin functions. Just use the one you need, and which I'm not giving you here, to force you to, again, RTFM!!!!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

Kiran V
Posts: 2
Joined: Thu Jun 29, 2017 3:54 pm
Skillset: PL1
Cobol
JCL
DB2
Referer: website

Re: Date validation query

Postby Kiran V » Sun Jul 02, 2017 8:14 am

Hi,
Think you for suggestion.
I will search for those built in functions.


  • Similar Topics
    Replies
    Views
    Last post