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

Answers were Sorted based on User's Feedback



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

Answer / anilgajmal86

TO PASS RECORD FROM FILE TO AN ARRAY, WE HAVE USE SOME VARIABLE WITH THE HELP OF PERFORM LOOP.

Is This Answer Correct ?    5 Yes 0 No

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

Answer / 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

More COBOL Interview Questions

How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

0 Answers  


How do we get current date from system with century in COBOL?

0 Answers   Winsol Solutions,


01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases

6 Answers   Patni,


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


What is the difference between write & move in COBOL?

3 Answers   CSC, HHB,






how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.

3 Answers   CTS,


what is scope terminator

2 Answers   IBM,


How to print 10 to 1 if the input have only 10 digit number?

0 Answers  


Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad

35 Answers  


what happens of we dont give time stamp in precompilation process

2 Answers  


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

0 Answers  


Categories