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
) what is the difference between AID and HANDLE AID?
how do you reference the rrds file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Difference between cobol and cobol-ii?
What are 77 levels used for?
how do you reference the printer file formats from cobol programs
Write some characteristics of cobol as means of business language.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
In which area will you utilize 88 level items in cobol?
Write a cobol program making use of the redefine clause.
How do u write test cases?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Are you comfortable in cobol or jcl?