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
Which Search verb is equivalent to PERFORM…VARYING?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
how do you reference the rrds file formats from cobol programs
What is amode(31)
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
) how do u code after getting data?
What is the difference between PIC 9.99 and PIC9v99?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Are you comfortable in cobol or jcl?
what happens if parmparameter passes zero bytes to the program
What is Pic 9v99 Indicates in COBOL?
Write the code to count the sum of n natural numbers.
i need a small 3d program using inline and outline.
how do you reference the esds vsam file formats from cobol programs
what is search and searchall?what is the diffrence between them?give an best example?