How can we access Interactive job LDA in Batch Job?.
and How we can access a file in interactive QTEMP lib in
Batch job?.
Answers were Sorted based on User's Feedback
Answer / kamal
If we use SBMJOB, the contents of LDA of interactive job to
be copied to the LDA created when submitting a job using
SBMJOB.
Is This Answer Correct ? | 17 Yes | 2 No |
Answer / george philip
When you Submit a Batch job through an Interacvive job. The
Content of the *LDA (of interavtive job) is copied into the
*LDA (of the Batch Job)
In Other words you can say "The system creates a local data
area, which is initially filled with blanks, with a length
of 1024 and type *CHAR. When you submit a job using the
SBMJOB command, the value of the submitting job's local
data area is copied into the submitted job's local data
area. "
Is This Answer Correct ? | 9 Yes | 1 No |
QINTER and QBATCH are two different subsystems in iseries
box. interactive job having its own QTEPM and *LDA and batch
having its own.if u signon to QINTER means i.e a job. AS400
creates QTEMP and *LDA for each job. so each SBMJOB having
its own QTEMP and *LDA and your QINTER session having its
own. so you cannot access both at a time.
Is This Answer Correct ? | 7 Yes | 7 No |
Answer / madhuri
LDA and QTEMP library are specific to the jobs. Hence we
cannot access those two of interactive job in a batch job.
Only possible solution that I cna think of is copying the
data to another data area object or creating a file in
normal library before submitting the job and deleting it
after use.
Is This Answer Correct ? | 1 Yes | 8 No |
How can a screen field that has changed since the last output operation be detected?
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
What are the commands that can be executed in CLP but not in RPG? Why?
How to update physical file in rpgle without using display file?
How can we receive values from a called procedure in RPG?
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
How can read PF in reverse order (end to start) in CL pgm..
I know chain keyword retreive records randomly but how chain keyword exactly works internally????
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How can we know running job is batch or interactive?
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.