Is LDA can be access accross the Job?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain The Keywords Edtcde & Edtwrd?

957


what is a spool file?

778


at what level s,o are defined and what they will do?

1126


when would you use or not use this approach?

1045


what are the different commands used in rlu ?

1666






how do you use commitment control in rpg program ?

1444


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3243


what is the syntax for plist?

738


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

3013


how many files can be defined in f specs?

1648


what key word is used when screen is re-display?

735


how do you use exceptional write in c specs?

1333


which indicator is used for read?

711


how may a cgi control duplicate inputs?

694


define the rcvf command?

1147