What is the Purpose of POINTER Phrase in STRING command
Answers were Sorted based on User's Feedback
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 |
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 |
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
What is IMPACT analysis?
wht is the diff b/w if and evaluate stmts ?
What are the divisions in a cobol program? Which one is the mandatory division among them?
How is sign stored in a COMP field ?
How are the next sentence and continue different from each other?
What is the difference between a binary search and a sequential search?
whats the difference between search and search all?
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
How will you find the currepted records in a file
how to resolve the file status 47.......
What is the mode in which you will OPEN a file for writing?