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

How can we override a file during runtime in rpg?

0 Answers  


What are the types of identifiers?

0 Answers  


how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


How to read alternative records in a pf by using rpg?

8 Answers   IBM,


what is a rpg?

0 Answers   IBM,






why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


how do I declare a minor?

0 Answers   IBM,


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....

1 Answers   HCL, Mind Tree,


how can you display specific subfile page on the screen in unequal subfile?

0 Answers   IBM,


Can we have a Physical file without any member ? Please let me know

12 Answers  


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

0 Answers  


Categories