How to read data from *LDA (Local Data Area) in RPGLE program without using IN opcode?



How to read data from *LDA (Local Data Area) in RPGLE program without using IN opcode?..

Answer / amissh

Using dads you can read
For eg:
D UDS
DNAME 1 10A
DSNAME 11 20A
C NAME DSPLY
C SNAME DSPLY
C SETON LR

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the necessary keyword used in a physical file to refer field definitions from the field reference file?

1 Answers  


What is the use of OVRDBF ?

1 Answers  


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?

3 Answers  


how do you read data area in an rpg program?

2 Answers   IBM,


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

2 Answers   IBM,


What is Group Job?

1 Answers  


what are the types of errors available in rpg IV or 400.Like decimal data error,sessional error or device error etc...means important error occurings,ie to find out suddenly???pls give answ if u know?Pls give the answer 1,,,,,,,to 12.........ie how it will happened like...for eg if a file is not closiing ,,,like this error is happened... if sufficient data is not in a pf to write in a display file. or sfldsp is not "on"......sessional or device error occured...like this give details all 1 to 12 errors (syam..)....give details PLsssssssssss?

1 Answers   CTS,


what is the rpg and cl life cycle?Please tell me any body

4 Answers  


What is a Join Logical File, Can it be used for Update ?

1 Answers  


Hi, can you plz tell me ...syntax for GET command in FTP & SFTP is same or different???

3 Answers  


What is the difference between Physical and Logical files ?

1 Answers  


What is library is as400? What are the types of library?

1 Answers  


Categories