Will the variable POS in the following code have a value of
2 or not?
01 POS PIC S9(4) COMP VALUE 2.
01 FIRST-NAME PIC X(10) VALUE 'ABC'.
01 LAST-NAME PIC X(10) VALUE 'XYZ'.
01 NAME PIC X(20) VALUE SPACES.
STRING FIRST-NAME DELIMITED BY SPACES
' ' DELIMITED BY SIZE
LAST-NAME DELIMITED BY SPACES
INTO NAME
WITH POINTER POS
Post New Answer View All Answers
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How you can characterize tables in cobol?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What rules are followed by the search verb.
Name the divisions, which are available in a cobol program?
How do you reference the fixed block file formats from cobol programs
) How do u handle errors in BMS macro?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Have you used comp and comp-3 in your project? And how?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What do you understand by psb and acb?
HOw can I get the negative sign while deduct high value from low value
What is the problem of ordered sequential files access?