i have the following varibles in the working storage
05 ws-A PIC X(30)
VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ '
05 WS-B REDEFINES WS-A
10 WS-B1 PIC X(10).
10 WS-B2 PIC 9(10).
10 WS-B3 PIC X(10).
If I Display B1, B2 and B3 respectively, what is the value
displayed in B2
Answer Posted / sandy
It will not show variable mismatch error.
It will display KLMNOPQRES.
Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
I have a File that has duplicate records. I need only those records that occur more than thrice.?
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?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What are the pertinent COBOL
Write some characteristics of cobol as means of business language.
what are decleratives in cobol?
What is amode(31)
What is the difference between goback, stop run and exit program in cobol?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
what is search and searchall?what is the diffrence between them?give an best example?
What is comp-1 and comp-2?
What are literals?
Why did you choose to work with ibm mainframe cobol programming?