I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3
under session S1) And 2 jobs(Say j4, j5 Under session S2)is
running. How many QTEMP & how many LDA will create for the
same.
Answers were Sorted based on User's Feedback
Answer / naveen chandra joshi
For two sessions 2 LDA and 2 QTEMP will be created. Wihtin
the first session, 3 jobs are submitted so that these 3
jobs will have their own QTEMP (3 QTEMP) and LDA (3 LDA).
Second session submitted 2 jobs so that this will have its
own QTEMP (2 QTEMP) and LDA (2 LDA).
Total numbers of LDA and QTEMP will be 7 and 7 respectively.
| Is This Answer Correct ? | 37 Yes | 0 No |
Answer / mahadev
7 qtemp and 2 LDA is correct Answer.
For any job submission done through interactive session the
LDA of interactive session gets copied in submitted job.
(System does not create new LDA for submitted job).
For the jobs j1,j2,j3 submitted through s1, will take LDA of
s1 but new qtemp gets created for each job.
For the jobs j4,j5 submitted through s2, will take LDA of s2
but new qtemp gets created for each job.
The final count of qtemp will be 7 qtemp and 2 LDA.
Qtemp for job - s1, s2, j1, j2,j3,j4,j5
LDA for only - s1 and s2.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / ak
one qtemp for one session and another qtemp for another session.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / deepika
this is the right ans...
7 QTEMP and 2 data area's
| Is This Answer Correct ? | 3 Yes | 9 No |
what is commitment control?explain about it?
how do I do concatenation in rpg iv, like I do in cl?
is this a rpg channel?
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
What is the syntax of passing parameters to a procedure by value?
RETRIVING DELETED RECORDS :- I'm frequently asked how to retrieve deleted records from an unjournaled physical file when the deleted records have not yet been removed from the file. Utility UNDEL lets you undelete records in a physical file. This public domain program is available in CISC and RISC versions, and the complete source code is available for download at: UNDEL for AS/400 Save File (RISC): http://www.as400network.com/sharewarefiles/undelris.zip UNDEL for AS/400 Save File (CISC): http://www.as400network.com/sharewarefiles/undel.zip UNDEL for AS/400 Save File (Source code): http://www.as400network.com/sharewarefiles/undelsrc.zip The utility takes advantage of the fact that deleted records in physical files are only flagged as deleted, and the record data still exists until it is overwritten or the file is reorganized with a utility such as RGZPFM. UNDEL simply reads the deleted record, then reuses the record by writing over it with the new record (thus eliminating the flag for the deleted record). Some homegrown and commercial utilities copy the file containing undeleted records to a save file, then use a program to read the save file, which contains live and undeleted records, to a file to undelete the records. The UNDEL utility is superior to the SAVF technique because there's no need to copy the file to a save file, which is especially important for really large files. When run, UNDEL displays the physical file records in their unformatted, raw text form. You can either position the display to a given relative record number or use F19 or F20 to find the previous and next deleted record, respectively. The utility also includes online help, which is almost unheard of for free utilities. Other utilities include the ability to undelete records. You can use the RTVDLTRCD command in the old QUSRTOOL (no longer supported by IBM). QUSRTOOL is now a commercial product called TAA Productivity Tools ( http://www.taatool.com ). The free file editor WRKDBF has a built-in undelete capability ( http://www.wrkdbf.com ), and several commercial file editors can undelete records. For a complete list of file editors, go to http://www.sourcebook400.com, select "Programmer Tools" under "Product Category," then select "File Editors."
What is the OPEN and CLOSE accesspath?
How to find d key field of a pf that doesn’t have source physical file?
How can you delete a record from a file in RPG without using DELETE oppcode?
Can you copy the records created by the OPNQRYF to other files and how?
Interviewer asked me write down DDS for load all subfile .can anybody write dds