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 |
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
What is the difference between inner join @ outer join
what is the use of sflnxtchg?
How to read a record from file where there is multiple record occurrence is available?
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
Why we cannot call a service program? If I add a PEP can i call the service program?
How do you find whether a job is a batch job or interactive?
1.The questions have given an array declaration and move operation then this statement is correct or not?
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 is a record lock error?
what is EXCEPT command in rpg and use