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?

Answers were Sorted based on User's Feedback



Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop ..

Answer / venkat b

Q2.how we can execute a loop infinitely in AS/400 coding?

Loop with a condition which is always true.

DOW '1'
//whatever
ENDDO

Is This Answer Correct ?    9 Yes 2 No

Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop ..

Answer / jay

1.By FTP command we can transfer data from one session to
another session.
2. By the various command like DOW and DOU.
3. Multi task can contain for the same object but that
object should be in Production.

Is This Answer Correct ?    6 Yes 0 No

Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop ..

Answer / 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

Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop ..

Answer / 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

Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop ..

Answer / jayaprabhu

Q1 you can copy the data from one session to other session
using NDM

on Menu ispf
type START NDM
Then seelct to the req option for your requriments

Is This Answer Correct ?    4 Yes 5 No

Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop ..

Answer / gayathri

2. Do *Hival
Call program or perform calculation
Enddo

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.

2 Answers  


parameters cannot be passed in which one??

2 Answers   CTS,


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output

3 Answers  


why we do STRSRVJOB in batch debugging in as400

1 Answers  






can I touch the array during treatments?

0 Answers   IBM,


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 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?

1 Answers  


How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??

1 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?

3 Answers  


How can you determine the number of characters in a variable?

3 Answers  


Categories