What is the usage of comp fields in cobol?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS

2 Answers  


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


what is subscript in cobol?give realtime example?

2 Answers   Wipro,


If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?

5 Answers   TCS,






What are the different open modes available in cobol?

0 Answers  


How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.

2 Answers   IBM,


how do u link sub pgm to main pgm ?

2 Answers   TCS,


What is SDSF?

13 Answers   IBM,


How can you display the SPOOL information ?

2 Answers  


When search all is used in cobol program without sorted input data?

6 Answers   CGI, Principal Finance,


What is the difference between a binary search and a sequential search?

10 Answers  


Categories