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

Explain about different table spaces.

0 Answers  


can we read in input the file with a variable length ? please , how ..could you help me ?

3 Answers   EDS,


DATAONLY, MAPONLY functionality?

1 Answers   IBM,


How To move a value to an array using move verb?

3 Answers   IBM,


Explain how to differentiate call by context by comparing it to other calls?

0 Answers  






What is the difference between a binary search and a sequential search what are the pertinent cobol?

0 Answers  


What are the divisions in a cobol program?

1 Answers  


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


What is the difference between Perform para and perform asaection in cobol?

3 Answers   TCS,


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

0 Answers   Amdocs,


PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?

5 Answers   TCS,


if one main program ,n -subprograms are then which call you follow ?why reasonuhg

4 Answers   UHG,


Categories