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
What is the difference between external and global variables in COBOL?
What is a SSRANGE and NOSSRANGE?
What type of SDLC u followed? Why?
how to access the file from prodution from changeman tool and to submit a file to production
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the problem of ordered sequential files access?
how do you reference the ksds vsam file formats from cobol programs
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How do you define a variable of comp-1 and comp-2?
Can a Search can be done on a table with or without Index?
Mention the guidelines to write a structured cobol program?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Differentiate between structured cobol programming and object-oriented cobol programming.