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 |
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening
why we do STRSRVJOB in batch debugging in as400
what are the key words you must use when using a subfile?
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?
In how many ways a session/device error occurs,,, and what is the remedy for it?
what is the equivalent keyword for CHAIN opcode ??
How to index LF by relative record no (RRN)
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
How we will read call stack?