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

What will happen if a variable is declared as below..
Explain with an example?

Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).

Answer Posted / lalit

I am agreed with Rookie. It will abend if any mathematical
operation like add, subtract will be performed with
variable WS-VARX, but if any mathematical operation is
performed using WS-VARN then it will not abend because it
is numeric in nature.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A table has two indexes defined. Which one will be used by the SEARCH?

1244


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

1165


How many sections are there in data division in COBOL?

1097


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2432


In which area will you utilize 88 level items in cobol?

1119


Differentiate between structured cobol programming and object-oriented cobol programming.

1098


Discuss about changing dataset name in proc.

1192


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3198


Explain what you understand by passing by value.

1113


What is static and dynamic call in cobol?

1024


What are the rules of the move verb?

1216


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1160


What kind of error is trapped by on size error option?

1194


how to refer the data field?

2226


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

2401