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 / mr.perfect
i have compiled and run it , it is workign fine.
the output format is
B1:ABCDEFGHIJ
B2:KLMNOPQRES
B3:TUVWXYZ
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
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?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
How arrays can be defined in COBOL?
What is the problem of ordered sequential files access?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Explain about different table spaces.
Can we redefine the field of x(200) to less than 200?
) How do u handle errors in BMS macro
In which area will you utilize 88 level items in cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
what happens if parmparameter passes zero bytes to the program
What is redefines clause in COBOL?
How you can characterize tables in cobol?