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 are the different types of condition in cobol and write their forms.

860


Explain about different table spaces.

847


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

946


What are the different rules of SORT operation?

888


What is the use of intialize verb?

963


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1023


example for sub strings ? and refernce modifications whit output pls

2063


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

2217


Mention the guidelines to write a structured cobol program?

811


What is the difference between external and global variables in COBOL?

1037


What are the different rules to perform a Search?

802


Write a program that uses move corresponding.

864


how do you reference the variable block file formats from cobol programs

915


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

943


What are declaratives and what are their uses in cobol?

922