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

Write down the divisions of cobol program?

1334


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

1289


What are the different rules for performing sort operation?

1278


What is the utilization of copybook in cobol?

1271


I have a File that has duplicate records. I need only those records that occur more than thrice.?

10006


How many sections are there in data division in COBOL?

1182


how to convert the recors form vsam file to db2 table tru file aid

3311


what is difference between cobol and cobol/400

23076


What are various search techniques in cobol? Explain.

1111


How do you differentiate between cobol and cobol-ii?

1280


What is length is cobol?

1154


Why would you use find and get rather than to obtain?

1260


How you can read the file from bottom?

1195


Describe the cobol database components?

1217


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1379