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
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 |
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 |
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
1.Can we define condition-name conditions in FD entry.
What is the LINKAGE SECTION used for?
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.
What is inspect in cobol ?
what is the advantage of using redefines instead of delaring the variables ?
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
How do you get the data to code the BMS macro?
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?