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

What are the different rules of SORT operation?

1083


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1451


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9018


What is cobol?

1194


How arrays can be defined in COBOL?

1136


How to remove 2 duplicate records and copy only one using job control language?

1169


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1145


What is the difference between binary search and sequential search?

1044


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1114


What guidelines should be followed to write a structured cobol prgm?

1089


What is the use of intialize verb?

1180


What are the various section in data division and briefly explain them.

1110


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

1127


how do you reference the rrds file formats from cobol programs

1494


how do you reference the ksds vsam file formats from cobol programs

1124