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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you display specific subfile page on the screen in unequal subfile?

669


is this a rpg channel?

667


explain sflclr, sflend, sfldlt, and sflcsrrrn?

878


how does the rpg element work?

711


how do I declare a table or array in rpg iv?

727






How to write record if no field or the field are different in physical file in rpgle ?

473


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

504


What is file identifier where we can use?

635


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

824


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4193


can you debug ile rpg program using isdb?

730


How can we know running job is batch or interactive?

643


How to handle duplicate error handling in RPG?

1666


When it is desirable to describe files Internally?

1178


Explain mdt?

657