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 will you find a string using pdm?
what is the maximum number of record formats in dspf?
how to run other job when one job is active?
What is dynslt?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
what is the difference between packed decimal and zoned decimal?
How many PARM statement can we use in a CL program?
what is *iso date format?
how many printer files maximum can be used in single rpg program?
What is primary file? How many primary file can be declared in a RPG program?
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..
What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99