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 |
How do I link an existing logical file to it's Physical File without recompiling?
How can we change element of compile time array?Can we do so
Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.
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??
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400
10 Answers IBM, Tech Mahindra,
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
What is Multi Occurrence Data Structure(MODS)?
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)
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?
how do u track msg in cl pgm???
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?