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
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 |
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 |
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 |
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 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 |
Answer / gayathri
2. Do *Hival
Call program or perform calculation
Enddo
| Is This Answer Correct ? | 0 Yes | 1 No |
I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)
how do I preserve and clean the array?
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword
How Chain operation copies the record's data to the input buffer for the program?
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
how to display all the members records in a physical file without using ovrdbf?
how can an indexed file be used as arrival sequence in RPG?
1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?