Date validation query



IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS

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???
Kiran V
 
Posts: 2
Joined: Thu Jun 29, 2017 3:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Date validation query

 

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
User avatar
prino
 
Posts: 564
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 24 times

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.
Kiran V
 
Posts: 2
Joined: Thu Jun 29, 2017 3:54 pm
Has thanked: 0 time
Been thanked: 0 time


Return to PL/I

 


  • Related topics
    Replies
    Views
    Last post