how you will define variables length in cobol.
Answers were Sorted based on User's Feedback
Answer / shamina
We can define variable length in cobol in the File section
as :
RECORDING MODE IS V OR VB ( where V stands for variable and
VB stands for variable block )
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sree
The variable length in cobol can be defined as s9(4) usage
comp.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / app
file section.
fd recseqv
recording mode is v
record varying from 3 to 80 characters.
01 recseqv-fd-record pic x
occurs 3 to 80 times
depending on ws-record-length.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is LENGTH in COBOL II?
Name the divisions, which are available in a cobol program?
consider the following FD FILE-1 01 REC-1 PIC X(80) ...... WORKING-STORAGE SECTION 01 W-REC PIC X(90) ........ PROCEDURE DIVISION FIRST-PARA ....... READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG which of the following is true with respect to the above? a.REC-1 will contain nothing and W-REC will contain the contains of the record read b.REC-1 and W-REC contain the same data c.syntex is invalid and error will occur d.REC-1 and W-REC must be of same size
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??
maximum of how many screens we can open in emulator
Difference between array and sub-script ?
plz any one tell clearly the justify right clause?
Difference between ps, esds
Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.
What is binary search?
Can we move X(9) to 9(9). If yes what are the ways for doing this?