What is the Purpose of POINTER Phrase in STRING command
Answer Posted / 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 |
Post New Answer View All Answers
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Write some characteristics of cobol as means of business language.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How do you get the data to code the BMS macro?
How to print 10 to 1 if the input have only 10 digit number?
Whats the difference between search & search ALL?
What is the local-storage section?
Define cobol?
How many bytes S(8) comp field occupy and its maximum value?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is rmode(any) ?
What is a report item?
What is the utilization of copybook in cobol?
what is the difference between COBOL2 AND COBOL390?
HOw can I get the negative sign while deduct high value from low value