Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is overlay? how can we pass parameters in cl or rpg
programing? how can we get data area value in cl or rpg
programming?

Answers were Sorted based on User's Feedback



what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area valu..

Answer / radha sammangi

1)
overlay : This is keyword which is used for overlays the storage of one subfield with another subfield in a data structure.

Ex:

D Datastructure DS
D Fullname 15a
D Firstname 6a OVERLAY(Fullname)
D Middlename 5a OVERLAY(Fullname:7)
D Lastname 4a OVERLAY(Fullname:12)

Even we can use OVERLAY(Fullname :*NEXT) instead of positions.

2) CALL PGM(program name) PARM(A B C....) in CL

CALL 'Pgmname' Plist /*In RPG

Plist KLIST
PARM A
PARM B
PARM C

3)
RTVDTAARA in CL

RTVDTAARA DTAARA(DA1) RTNVAR(&Var)

We can use IN and OUT operations for reading and writing data area in RPG programs.

Is This Answer Correct ?    15 Yes 2 No

what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area valu..

Answer / vicky

we can also use overlay on subfile

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?

1 Answers  


1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??

2 Answers  


there is any limit to display the members in rpg400?

3 Answers  


what is ment by "MDT"

2 Answers   TCS,


what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,


What is the RPG cycle?

3 Answers   CSC,


WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?

3 Answers  


WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?

2 Answers  


CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?

6 Answers   Satyam,


How to call one program from another program in RPG? please help me with the code

0 Answers   HCL,


What is the purpose of record level identifier?

0 Answers  


Categories