Answers were Sorted based on User's Feedback
Answer / suresh
UDATE supports two-digit year. The format is *MDY
|Is This Answer Correct ?||22 Yes||2 No|
Answer / ps
UDATE has always been the date the job was submitted or
became active . IT does not show system date. @My
application runs never ending night jobs. We use UDATE to
get the job submission date.
|Is This Answer Correct ?||10 Yes||0 No|
Answer / venkatarao
it displays two digit year i.e. DD/MM/YY
|Is This Answer Correct ?||11 Yes||5 No|
Answer / vipin
UDATE give the job date while *Date gives system date
|Is This Answer Correct ?||9 Yes||10 No|
Answer / lama
for displaying system date in DS
|Is This Answer Correct ?||2 Yes||11 No|
Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
how can we can we the data decimal error?how can we open such file in support
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
what is the necessary command needed before OPNQRYF and why?
difference betwen keywords and opcodes
How can we call CL program to RPG? How many number of parameter we can pass
I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?