What is the Purpose of POINTER Phrase in STRING command

Answers were Sorted based on User's Feedback



What is the Purpose of POINTER Phrase in STRING command..

Answer / lokanatha reddy

POINTER Phrase purpose: Points to the position in the
destination string where the next character will go.

Stntax:
STRING
Ident1 DELIMITED BY SIZE
Ident2 DELIMITED BY SPACES
INTO Ident4 WITH POINTER Point1
END-STRING.
POINTER value must be an integer item and its description
must allow it to contain a value one greater than the size
of the destination string. For instance, a pointer declared
as PIC 9 is too small if the destination string is 10
characters long

Is This Answer Correct ?    16 Yes 3 No

What is the Purpose of POINTER Phrase in STRING command..

Answer / kavya

POINTER is used to get the ended position of the string.

Is This Answer Correct ?    12 Yes 8 No

What is the Purpose of POINTER Phrase in STRING command..

Answer / anshuman

The POINTER option can be used to count the number of
characters actually moved in to the receiving field.

Is This Answer Correct ?    7 Yes 8 No

Post New Answer

More COBOL Interview Questions

I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


What is IMPACT analysis?

2 Answers   IBM,


wht is the diff b/w if and evaluate stmts ?

2 Answers   DELL,


What are the divisions in a cobol program? Which one is the mandatory division among them?

1 Answers  


How is sign stored in a COMP field ?

3 Answers   Accenture,






How are the next sentence and continue different from each other?

0 Answers  


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

3 Answers  


whats the difference between search and search all?

4 Answers   Patni,


HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER

7 Answers   Patni,


How will you find the currepted records in a file

2 Answers  


how to resolve the file status 47.......

1 Answers   MMM,


What is the mode in which you will OPEN a file for writing?

4 Answers  


Categories