How can you declare the file ?
Answer / g.naveen
ENVIRONMENT DIVISION.
FILE-CONTROL.
SELECT FILE1 ASSIGN TO DISK1.
| Is This Answer Correct ? | 12 Yes | 0 No |
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How to read records from flat file in reverse order through COBOL program?
14 Answers Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,
i Want All cobol ERROR codes?
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?
How do you define a variable of COMP-1? COMP-2?
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.