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 is the difference between PIC 9.99 and 9v99 in COBOL?

732


In COBOL programming, what is PERFORM? What is VARYING?

672


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

780


What are the pertinent COBOL commands?

2626


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

755






What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

674


how do you reference the rrds file formats from cobol programs

800


What are the access modes of START statement?

719


Describe the cobol database components?

680


Mention the guidelines to write a structured cobol program?

620


What is the utilization of copybook in cobol?

657


What are the different rules to perform a Search?

617


Which is not true about evaluate statement

1584


What is the difference between binary search and sequential search?

641


How do get the result of your program directly on your pc?

1883