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 / divakar
1. -SavObj OBJ(FILE) SAVLIB(FLIB) SAVF(FLIB/FSAVF)
-FTP << ip >>
user: USER
pwd: xxxxxx
bin
put FLIB/FSAVF TLIB/TSAVF
quit
- RSTOBJ *ALL SAVLIB(FLIB) SAVF(TLIB/TSAVF) TOLIB(TLIB)
2. DCL &Flag *char 1 '1'
Dow cond(&flag *eq '1')
. . . .
. . . .
EndDo
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
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?
When it is desirable to describe files Internally?
How to declare the pull button in AS/400..
Explain mdt?
What is file identifier where we can use?
What is difference between bind by copy and bind by reference?
What is the difference between copybooks and subprocedures in as400?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what is file information data structure?
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 do I declare a table or array in rpg iv?
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...
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is data area and how it is used in rpg program ?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?