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 am going to Display the WS-VARX and WS-
VARN?

Answer Posted / neela

Hi KHB Naidhu,
pic x means it should be alphanumeric
pic 9 means it should be Numeric

so we have to move numeric values also to the pic x

for this qtion is correct what was explained my
mallikarjuna.

regards
Neela

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens if parmparameter passes zero bytes to the program

2133


What type of SDLC u followed? Why?

1999


Can we redefine the field of x(200) to less than 200?

1377


What is amode(24)?

1241


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2133


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1326


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3164


How do you reference the fixed block file formats from cobol programs

1227


Can a Search can be done on a table with or without Index?

1289


What is the problem of ordered sequential files access?

1161


example for sub strings ? and refernce modifications whit output pls

2317


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

3234


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

3262


What is the use of intialize verb?

1255


Which division and paragraphs are mandatory for a COBOL program?

1277