Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.

2 Answers   TCS,


What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


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

2 Answers   CSC,


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

1 Answers  


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

0 Answers  


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


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

3 Answers  


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


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

5 Answers   CTS,


In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding

4 Answers   Infinite Computer Solutions,


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

0 Answers   IBM,


Categories