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 |
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
How can we increase the size of an existing PDS to include more no. of modules.
S9(5)V9(2) occupies how many bytes memory ?
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
How you can characterize tables in cobol?
What is different between variable length and fixed length?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
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 Static and Dynamic linking ?
hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?