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

Can a Search can be done on a table with or without Index?

1289


What is perform what is varying?

1177


) how do u code after getting data?

2155


how do you reference the printer file formats from cobol programs

1219


Explain about different table spaces.

1107


what happens if parmparameter passes zero bytes to the program

2133


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

1200


How to know whether the module is dynamical or statistical?

1144


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17881


How do u write test cases?

2069


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1255


What kind of error is trapped by on size error option?

1245


Write a cobol program making use of the redefine clause.

1185


Write some characteristics of cobol as means of business language.

1145


Are you comfortable in cobol or jcl?

1049