Answers were Sorted based on User's Feedback
Answer / mahathiaz
COMP-1 - Single precision floating point. Uses 4 bytes.
COMP-2 - Double precision floating point. Uses 8 bytes
|Is This Answer Correct ?||18 Yes||0 No|
Answer / karan
comp-1 is single floatig item where as
comp-2 is double floating item.
comp-1,comp-2 we are not using pic clause.
|Is This Answer Correct ?||5 Yes||0 No|
Answer / purushothr
comp 1:single precision floating point//4 bytes
comp 2:double precision floating point//8 bytes
|Is This Answer Correct ?||2 Yes||0 No|
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
is it possible to declare index in cobol program? if it is not why its tell me pls
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
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?????
How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
When search all is used in cobol program without sorted input data?
What is the difference between comp and comp-3 usage?
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
How to retrive the 9th records out of ten records using the cobol program ?
DATAONLY, MAPONLY functionality?
Write a program to concert an Indexed file into Sequential file?