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

what was the robotech rpg?

1191


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1880


what is the procedure and explain about real time scenario.

1947


When it is desirable to describe files Internally?

1703


What is the purpose of record level identifier?

1119


What is a record lock error?

1755


can I touch the array during treatments?

1163


is this a rpg channel?

1161


how do I declare a table or array in rpg iv?

1172


what is the difference between do while and do until?

1237


what is the use of sflnxtchg?

1248


What is the difference between copybooks and subprocedures in as400?

1352


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

936


what is file information data structure?

2179


what is a rpg?

1185