HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?

Answer Posted / piyush mani

to pass a value we always need a variable..

so using rread command store value in var1 and then use move command 2 send it to array..

like move var1 to var2(i)..

u have to use perform command..


giv ur feedback

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What rules are followed by the search verb.

629


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

673


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

625


Write a program to explain size error.

667


A table has two indexes defined. Which one will be used by the SEARCH?

746






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

648


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

701


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1919


how to refer the data field?

1793


What is the compute verb? How is it used?

649


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1915


Write a program to enter and display the names of students in a class using the occurs clause.

640


Difference between array and sub-script ?

1150


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5353


What is a scope terminator give example?

650