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


Please Help Members By Posting Answers For Below Questions

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?

4227


When it is desirable to describe files Internally?

1202


How to declare the pull button in AS/400..

1889


Explain mdt?

672


What is file identifier where we can use?

658






What is difference between bind by copy and bind by reference?

1741


What is the difference between copybooks and subprocedures in as400?

819


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

729


what is file information data structure?

1392


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.

2060


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

748


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...

1324


do you use message subfiles? What are the necessary keywords required coding a message subfile?

698


what is data area and how it is used in rpg program ?

764


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?

519