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

2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 Answers  


how do u find whether a record is locked or not??/

5 Answers   CTS,


What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?

3 Answers   HSBC, IBM,


what is plat file?

6 Answers   Indian Infotech,






The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  


ESCAPE message sent by child program can be handled by parent program using which keyword?

2 Answers  


i want to retrieve record b/w 2 dates in as400

2 Answers   L&T,


how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52

2 Answers   Fiserv, IBM,


where we give the MSGSFL in rpg400?

4 Answers  


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

3 Answers  


Categories