Q1.How we can copy the data of file one session to another
session?
Q2.how we can execute a loop infinitely in AS/400 coding?
Q3.In ALDON tool,multitask is posible on a perticular
object by the user?
Answer Posted / sunita singh
1. By using CRTDDMF command you can copy the data of file
of one session to another
2. By using DOW and DOU command
D Done s n inz(*off)
/free
DOU Done;
//work done
ENDDO;
/end-free
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how does the rpg element work?
is this a rpg channel?
How to call one program from another program in RPG? please help me with the code
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
how can you display specific subfile page on the screen in unequal subfile?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
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
How can we override a file during runtime in rpg?
what is *place and *auto keyword in prtf ?plz explain
What is file identifier where we can use?
what is data area and how it is used in rpg program ?
When it is desirable to describe files Internally?
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?
what is a rpg?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?