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 many specifications are there in rpg/400? What are they?
Dear All, I have one confusion related to my platform. I am working with Wipro from last two year however still I am looking for AS400 platform kindly show me the way out of it. And please share with me the hardware knowledge that how I grow myself in hardware (AS/400) also.
what is *inzsr used for?
what the purpose of ovrdta, ovrata keywords?
What is a message file?
what are two types of record are used in subfile?
what is the function of rlu ?
A phisical file has two fields like 1) Account No(10,0) 2)Phone No(15,0)Unique on both fields?Please give me the answer for this?
when would you prefer logical file than opnqryf?
What is class of service ?
what is OUTFILE?what is the uses and disadvantage? where we can use this?
what are the various types of device files?