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 subscript in cobol?give realtime example?

Answer Posted / avr

01 g1.
02 ele pic x(3) occurs 10 times.
01 i pic 99.
procedure division.
perform varying i from 1 by 1 until i > 10
accept ele(i)
display ele(i)
end-perform.
in this is case i is a subscript variable

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For rewrite, why is it mandatory that file needs to be opened?

1082


How do u write test cases?

2034


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1183


Which mode is used to operate the sequential file?

1166


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2096


Differentiate between structured cobol programming and object-oriented cobol programming.

1106


What is the Purpose of Pointer in the string?

1044


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7791


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1289


What is the use of intialize verb?

1206


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2190


State the various causes of s0c1, s0c5 and s0c7.

1043


What is the difference between comp and comp-3 usage?

1160


what happens if parmparameter passes zero bytes to the program

2099


Discuss about changing dataset name in proc.

1198