What is COMP-1? COMP-2?
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 ? | 19 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 |
Answer / jay
COMP1 - Single precision floating point. Uses 4 bytes.
COMP2 - Double precision floating point. Uses 8 bytes
| Is This Answer Correct ? | 0 Yes | 0 No |
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
How can you add a particular field in copybook?
How is sign stored in a COMP field ?
What is amode(24)?
Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
how to transfer the file from pc to mainframe??
What does MAXCC 3 means? It is used in one my codes.
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.