Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you differentiate between cobol and cobol-ii?

1214


What are the different open modes available in cobol?

1195


What is rmode(any) ?

1274


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1218


Are you comfortable in cobol or jcl?

1051


Write the code to count the sum of n natural numbers.

1211


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1259


how to convert the recors form vsam file to db2 table tru file aid

3268


What are literals?

1141


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1251


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9109


how to move the records from file to array table. give with code example

2679


what is amode(24), amode(31), rmode(24) and rmode(any)?

1154


) How do u handle errors in BMS macro?

1975


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

868