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 |
How To move a value to an array using move verb?
What is the difference between a DYNAMIC and STATIC call in COBOL?
What is the use of intialize verb?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
what is a zoned decimal data type and how it will be stored?
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
can we read in input the file with a variable length ? please , how ..could you help me ?
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
Which Search verb is equivalent to PERFORM…VARYING?
How do you define a table/array in COBOL?
If we use GO BACK instead of STOP RUN in cobol?