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 move a value to an array using move verb?

Answer Posted / jagan

using PERFORM statements we can move a value to an array
using the MOVE verb.

Below is an example of In-Line Perform where we are moving
a value to an array A

01 Array
05 A PIC X(10) occurs 10 times.

PERFORM VARYING i from 1 by 1 until i > 10
MOVE 1 TO A[I]
END-PERFORM

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOw can I get the negative sign while deduct high value from low value

2215


What is a SSRANGE and NOSSRANGE?

1419


How do get the result of your program directly on your pc?

2303


How many sections are there in data division in COBOL?

1088


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

2174


Write a program to explain size error.

1150


What is the problem of ordered sequential files access?

1116


What is the local-storage section?

1107


Write a cobol program making use of the redefine clause.

1125


Explain the configuration section of a cobol program with examples of syntax.

1134


Define static linking and dynamic linking.

1121


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1478


how do you define single dimensional array and multidimensional array in your cobol?

1054


What is perform what is varying?

1120


Which mode is used to operate the sequential file?

1157