Mr.Yallamanda Reddy P thanks for your answer sir,can we use
test(D) opcode in RPG/400,if yes please help me by eloborating
on that answer by writing a sample code for that sir
Answers were Sorted based on User's Feedback
Answer / gagan
test(D) opcode is used to check for the validity of a date/time/timestamp.
If the date is valid then error code returned is o else error code is 1
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / uday bagdi
Testdate field has date data type and 20 is LO level indicator we check this filed is *YMD format or not.Below is the code.
*ymd test (D) Testdate 20
Is This Answer Correct ? | 0 Yes | 0 No |
How do you code file / field renames in ILE RPG?
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.
Why we cannot call a service program? If I add a PEP can i call the service program?
When it is desirable to describe files Internally?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
How do you do indexing in a physical file?
When a object will be locked & when a record will be locked? Plz explain.
where we give the MSGSFL in rpg400?
use of PUTOVR,OVRDTA,KEEP keywords?