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 MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is SDSF?
what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?
what is meant by binary search?
How to define a array dynamically.....
What is different between variable length and fixed length?
How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)
What is file status 92?
Difference between cobol and cobol-ii?
A s9(4). B v9(4) value 0.21 can i move this?
How do u write test cases?
how the control comes back from subprogram to mainprogram