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(10) VALUE 'ABCDEFGHIJ'.
01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'.

What will happen I want Display WS-VARX and WS-VARN?

Answer Posted / reena

The Redefined clause cannot contain a Value Clause.
i.e. it should only be WS-VARN REDEFINES WS-VARX PIC 9(5).

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you used comp and comp-3 in your project? And how?

2518


how do you reference the ksds vsam file formats from cobol programs

1237


In COBOL programming, what is PERFORM? What is VARYING?

1202


What is amode(31)

1210


Why occurs cannot be used in 01 level in COBOL?

1199


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

1273


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

1299


What is an in line perform? When would you use it? Anything else you wish to say about it.

1137


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5790


What guidelines should be followed to write a structured cobol prgm?

1199


What are the different types of condition in cobol and write their forms.

1144


For rewrite, why is it mandatory that file needs to be opened?

1147


Name the sections present in data division.

1302


What is the use of intialize verb?

1298


What are the rules of the move verb?

1318