suppose i i am changing / updating record of subfile and i
want to change the record in reverse order . means i want to
change the bottom record first and so on through readc . how i
do it please any one explain .
Answers were Sorted based on User's Feedback
Answer / maheshg
better to have multi occurance of DS load all the record
which is read through READC and read DS in reverse oreder
for changing / updating.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / baggy
That is possible by using embedded sql to fetch the data
using CURSORS to subfile and group by ASCEND or DESCEND
Is This Answer Correct ? | 1 Yes | 1 No |
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
what will happen two jobs have same name are submitted
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
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
RPG/400 faqs?
in which journalling which attributes are necessary??/
What is the difference Return and InLr?
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
two attributes which govern the excecution of a job>>>>??
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
How to read a record from file where there is multiple record occurrence is available?
i want to retrieve record b/w 2 dates in as400