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 |
Explain about different table spaces.
can we read in input the file with a variable length ? please , how ..could you help me ?
DATAONLY, MAPONLY functionality?
How To move a value to an array using move verb?
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the divisions in a cobol program?
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
What is the difference between Perform para and perform asaection in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
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?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg