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



How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

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

How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

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

How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

Answer / sekhar

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

How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

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

Post New Answer

More RPG400 Interview Questions

What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  


What is the difference between inner join @ outer join

4 Answers  


what is the use of sflnxtchg?

0 Answers   IBM,


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...

4 Answers  






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

6 Answers  


Why we cannot call a service program? If I add a PEP can i call the service program?

1 Answers   DELL,


How do you find whether a job is a batch job or interactive?

4 Answers  


1.The questions have given an array declaration and move operation then this statement is correct or not?

3 Answers   TCS,


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

8 Answers   Cap Gemini, IBM,


What is a record lock error?

0 Answers   Wipro,


what is EXCEPT command in rpg and use

1 Answers   Active Brains,


Categories