i 'm new to as/400.in an interview i was asked this
question.give a practical example for passing information or
data through local data area.
I know only that data area is an object used to store tiny
bits of data or it can store one value at a time and it is
used to store frequently changing values or datas.thats all
i know about data area can any one tell me how local data
area and user defined data area are used to pass data
between jobs with a example or coding.thanks in advance.

Answer Posted / sameer

Every job has an *LDA created by the system. To see the
*LDA of your current session you logged in - DSPDTAARA *LDA.
You can pass the same to other's job LDA by psssing it as
parameter of the program of the job we are calling. This
way informaton floats between different jobs.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can I touch the array during treatments?

759


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2521


what do you mean by an input subfile, what are the keywords required?

775


what is the use of sflnxtchg?

805


What is file identifier where we can use?

652






how can I tell when to replace the array?

704


what is the difference between do while and do until?

710


what is kids-rpg?

669


are there any useful c runtime apis that I can call from rpg iv?

700


what was the robotech rpg?

686


which program rpg or cl is efficent to update a transaction onto a database file and why ?

748


what is program status data structure?

1391


How to declare the pull button in AS/400..

1884


How Chain operation copies the record's data to the input buffer for the program?

1083


what is the rpg system?

669