how to find whether a date format is valid or not in RPG400
not in RPGILE.Can you please write the coding for this sir,i'm
new to AS400.Please help.
Answer / jai shri ram
> D DateIn S 8 0 INZ(*Zeros)
> D DateMDY S D DATFMT(*USA)
> D DateYMD S D DATFMT(*ISO)
> D Days S 5 0 INZ(*Zeros)
> D DateAlpha S 8
> ...
> C Move DateIn DateAlpha
> C *MDY0 Test (D) DateAlpha
99
> C If *In99
> C Except ErrorDtl
> C Iter
> C EndIf
> C Move DateIn DateMDY
> C AddDur Days:*Days DateMDY
> C Move DateMDY DateIn
| Is This Answer Correct ? | 2 Yes | 0 No |
Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any
How do you find whether a record is locked or not?
How can you delete a record from a file in RPG without using DELETE oppcode?
1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?
how to run only 10 modules of existing N modules in service program in RPGILE ?
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
how does the rpg element work?
How to read alternative records in a pf by using rpg?
use of PUTOVR,OVRDTA,KEEP keywords?
Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?