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 / prasanna
Wont it show SOC or ASRA because of the data exception...
(non numeric in a numeric field) ??
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Write a program to explain size error.
What is the problem of ordered sequential files access?
Differentiate between structured cobol programming and object-oriented cobol programming.
What rules are to be followed while using the corresponding options?
Why did you choose to work with ibm mainframe cobol programming?
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.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between perform … with test after and perform … with test before?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Write a cobol program making use of the redefine clause.
How do you differentiate between cobol and cobol-ii?
Write the code implementing the perform … varying.
What is link edit in cobol?
Explain about different table spaces.
How to know whether the module is dynamical or statistical?