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

how can I control the way a remote browser uses its cache?

0 Answers   IBM,


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

0 Answers   IBM,


What is array in as400? What are the types of array?

0 Answers  


What is a library list ?

1 Answers  


What are the record format field mapping options in cpyf?

0 Answers  






I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

0 Answers   CSC,


What command must be executed before executing OPNQRYF command?

1 Answers  


using dfu, user will be able to ___________ from physical file?

0 Answers   IBM,


what is the main use of OPNQRYF ?? in that query why we can use OVERDBF and in that OVERDBY why should we use SHARE(*YES)

2 Answers   IBM,


can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

0 Answers   HCL,


What is the Select and Omit criteria in logical file?

1 Answers  


how to write *pssr ?

0 Answers   IBM,


Categories