Is LDA can be access accross the Job?
Answers were Sorted based on User's Feedback
Answer / yogesh
A local data area is created for each job in the system,
including autostart jobs, jobs started on the system by a
reader, and subsystem monitor jobs. 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. You can refer to your job’s local data area by
specifying *LDA for the DTAARA keyword on the CHGDTAARA,
RTVDTAARA, and DSPDTAARA commands or *LDA for the substring
built-in function (%SST).
The following is true of a local data area:
1. The local data area cannot be referred to from any other
job.
2. You cannot create, delete, or allocate a local data area.
3. No library is associated with the local data area.
4. You cannot change the local data area in a secondary
thread.
v The ILE CL compiler generates code to ensure that a
procedure running in a
secondary thread cannot access the local data area while a
procedure running in
the initial thread is changing it.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / hello
Hey yogesh..don't be copy and past the answers from
Question bank...you can just explain ur own words if u have
idea.
Is This Answer Correct ? | 0 Yes | 0 No |
yes we can access it ......we are not allow to create LDA or delete LDA becoz it been done by system as we all know ....when a job begain and LDA is created .....ok so you can use LDA during that process ......
please let me know if i was wrong and dont mind
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gautam
Yes we can access LDA through out the job.If a CL program
even use the SBMJOB,i mean if new job is fired through the
current job then also LDA can be accessed.
Is This Answer Correct ? | 1 Yes | 3 No |
how to handle job errors in as400 what is the command and where can we find out whether the job has any errors
What is a query can be displayed without saving it?
What is field reference file?
How to write a password mask program in as400? like the password which i type should be displayed as '*****' r ###### which the user wishes to dispaly if u could help me with url r the solution in written code this will help me
What is left outer join?
What is the function of RJE Conversion Utility?
how a varible can be passed to a subfile...accnt1 contain data in a data area..ie Daccnt1 uds,Daccnt2 3 overlay(accnt1:1), DNo 4 overlay(accnt1:4)..we want to transfer this dataarea value from acnt0001 to a subfile..that means to enter each record we have to incriment account no,, i normal window we can do move accnt1 account_no eval account_no=accnt1 eval no=no+1 exfmt usr_account how it possible with Subfile????????.Please do answer? (Thank you for all your answers dear friends!!)
can you specify a display file to be used in the following modes input,output, or combined modes ?
how do you specify page overflow indicator for printer files in rpg?
An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can we update this file? Please explain?
what is the maximum number of parameters allowed in rpg?
What are the record format field mapping options in cpyf?