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

i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2203


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

1514


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1075


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2366


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2090


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1222


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1331


What are the different rules of SORT operation?

1123


Which is not true about evaluate statement

2434


What is the Purpose of Pointer in the string?

1062


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?

2259


Write a program that uses move corresponding.

1118


How do you define a variable of comp-1 and comp-2?

1189


What is a SSRANGE and NOSSRANGE?

1446


What is the usage of comp fields in cobol?

1169