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 |
Is it necessary to define all formats ? Which are mandatory and which are Optional ?
What is FCFO, FIFO, LIFO in Database environment ?
how to get the particular field's records in CL without using OVRDBF,OPNQRY? tell me the concept?
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?
The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help...
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
Hi, can you plz tell me ...syntax for GET command in FTP & SFTP is same or different???
What is logical file in as400? What are the types of logical file?
what is the maximum number of parameters allowed in rpg?
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
Define a Job Queue?
what is join logical file?