What is 66 level number and where it is used in real time by
software developers?
Answers were Sorted based on User's Feedback
Answer / harihar
it is used to rename .
Eg: if we want to rename PHYSICS THRU BIOLOGY as SCIENCE,
we use this level number.
01 SEM-1
02 MATHS PIC 99.
02 PHYSICS PIC 99.
01 SEM-2.
02 CHEM PIC 99.
02 BIOLOGY PIC 99.
for this,.
66 SCIENCE RENAMES PHYSICS THRU BIOLOGY.
It will give us a new group named SCIENCE.
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / reddy
Renames clause nothing but RE-GROUPING the elementry data items(variables)
real time also same
| Is This Answer Correct ? | 7 Yes | 0 No |
How to read a record from bottom of a file which is indexed by 'A'.
What are the differences between OS VS COBOL and VS COBOL II?
9(2).99 how many bytes take? Why . consider as a byte?
I have PS flat file with 14 records. I want to read from 4th to 9th record and want to write those 6 records (4th record to 9th record) to another PS file (output file). there is no key defined in the input file. I just want read a certain Consecutive records. can any one please give me the procedure division Coding for this. I have coded the below coding but the READ-PARA is performing only 1 time even though I have 14 records in my input file (i.e FILE-1): PROCEDURE DIVISION. A000-SECTION. MOVE 0 TO I. OPEN INPUT FILE-1. IF CHECK-KEY1 > 0 DISPLAY "OPEN ERROR FOR FILE-1, CODE IS:" CHECK-KEY1 END-IF. OPEN EXTEND NEWFILE-1 IF CHECK-KEY3 > 0 DISPLAY "OPEN ERROR FOR NEWFILE-1 COD IS" CHECK-KEY3 END-IF. PERFORM READ-PARA THRU EXIT-PARA UNTIL EOF-REC = 'YES'. DISPLAY " FINALLY OUT OF LOOP" CLOSE FILE-1 CLOSE NEWFILE-1 STOP RUN. READ-PARA. ADD 1 TO I READ FILE-1 AT END MOVE 'YES' TO EOF-REC IF I > 3 AND < 10 PERFORM WRITE-PARA ELSE DISPLAY "NOT IN RANGE" END-IF. EXIT-PARA. EXIT. WRITE-PARA. WRITE NEW-REC FROM FILE1-REC.
What is link edit in cobol?
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
wht do u mean by (*,intrdr) wht is * used for ?
How do pass the values to the parameters in cobol
Which mode is used to operate the sequential file?
hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?
What rules are to be followed while using the corresponding options?
can we write paragraph in area B .....