Explain fixed length record in cobol? with suitable example
Answer / jai ho
Fixed length record can be created by giving
example
FD IN-FILE
RECORDING MODE IS F
RECORD CONTAINS M CHARACTERS
CORRECT ME
| Is This Answer Correct ? | 7 Yes | 0 No |
can internal sort be applied to sort ksds files?
using redefine can you redefine lower variable size to higher variable size?
Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?
Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.
When and how can we use index & subscript ?
What is file status 39 ?
Can the OCCURS clause be at the 01 level?
ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
what is scope terminator
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What are the access modes of START statement?
how you will define variables length in cobol.