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...

How to declare the dynamic(run time) array in rpgle?
can you please give example

Answer Posted / karthik

Dary1 s dim(5)
Dn s 2p 0 inz(1)
c dow(n<=10)
c ary1(n) dsply
c eval n=n+1
c enddo
c seton lr

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1169


how do you use commitment control in rpg?

1287


What is the difference between copybooks and subprocedures in as400?

1367


can you debug ile rpg program using isdb?

1274


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

1612


can I touch the array during treatments?

1184


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

1250


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

2078


how can I tell when to replace the array?

1222


What is difference between bind by copy and bind by reference?

2482


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2644


what is a rpg?

1205


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

3007


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1734


What is the difference between iter and do?

1220