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 traceback if I am getting SOC7 or SOC4 abend? List down the steps
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
how to access the file from prodution from changeman tool and to submit a file to production
How do you reference the fixed block file formats from cobol programs
What are the access modes of START statement?
How do you get the data to code the BMS macro?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the compute verb? How is it used?
Difference between array and sub-script ?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the difference between goback, stop run and exit program in cobol?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.