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 |
what is procedure prototype and procedure interface.
how do you specify the number of records to roll in a subfile ?
Q.1.What is differences in STRDBG and STRISDB debugging commands? 2.Where we should use STRDBG and STRISDB Debugging commands?
Define each of the following operation codes a, b, c, d, e
what does exfmt does?
what is the difference between normal upddta to pf and updating using dfu program?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
how do handle file exception/error?
What does SDA stands for ?
what is a non-join logical file?
not all command typed on command line are cl command? true r false
How many Printer Files can Declare in a CL Program?