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

how do I preserve and clean the array?

1149


How to write record if no field or the field are different in physical file in rpgle ?

965


how do I declare a minor?

1160


how can I tell when to replace the array?

1214


When it is desirable to describe files Internally?

1714


How to declare the pull button in AS/400..

2333


what is the rpg system?

1279


what is data area and how it is used in rpg program ?

1326


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2805


can you debug ile rpg program using isdb?

1267


How can we override a file during runtime in rpg?

1201


What is file identifier where we can use?

1131


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

1606


what are the key words you must use when using a subfile?

1186


how does the rpg element work?

1231