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 / sandy

Mallikarjun is 100% correct

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is perform what is varying?

701


What are literals?

626


Describe the cobol database components?

676


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1586


Write down the divisions of cobol program?

665






What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

709


) How do u handle errors in BMS macro

1505


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

639


What is difference between static and dynamic call in cobol?

772


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1111


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

1900


What is the utilization of copybook in cobol?

650


What is a report item?

737


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1697


how do you reference the fixed unblock file formats from cobol programs

703