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 want a program using by if, evaluate , string, unstring, perform, occurs?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Describe the cobol database components?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Can a Search can be done on a table with or without Index?
Write a cobol program making use of the redefine clause.
What is the difference between comp and comp-3?
How do you reference the fixed block file formats from cobol programs
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Explain what you understand by passing by value.
What are the pertinent COBOL
Which mode is used to operate the sequential file?
What are the different types of condition in cobol and write their forms.
Write the code to count the sum of n natural numbers.
Difference between array and sub-script ?