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...

if a pic 9(3) value 354,b pic x(2) value '46' then
a)a>b
2)a<b
3)error

Answer Posted / billyboyo

IBM Cobol will do an alphanumeric comparison because one of
the fields is PICTURE X. "354" will be compared to "45" and
be found to be lower. Answer b) is correct.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the access modes of START statement?

1191


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)?

1062


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?

7740


Define static linking and dynamic linking.

1113


What is the problem of ordered sequential files access?

1111


What is the LINKAGE SECTION used in COBOL?

1470


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

1092


How do you reference the following file formats from cobol programs?

1123


) what is the difference between AID and HANDLE AID?

2099


) How do u handle errors in BMS macro?

1911


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1956


What is the use of intialize verb?

1185


Whats the difference between search & search ALL?

6367


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2396


how can i see junk values in dclgen or in hostvariable of comp ?

2935