01 var1 pic x(10)
01 var2 redefines var1 pic 9(10).
then in procedure division
move 'abcde' to var1 then waht is the value of var1 and var2
Answer Posted / veena
************************************************************
************************************************************
************************************************************
It will give compilation error.
Is This Answer Correct ? | 0 Yes | 11 No |
Post New Answer View All Answers
Explain the configuration section of a cobol program with examples of syntax.
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 ?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How do u write test cases?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
what are decleratives in cobol?
What is the compute verb? How is it used?
What is the difference between external and global variables in COBOL?
What is the difference between binary search and sequential search?
Write a cobol program making use of the redefine clause.
What is difference between static and dynamic call in cobol?
Which division and paragraphs are mandatory for a COBOL program?
) how do u code after getting data?
) How do u handle errors in BMS macro
What are the different rules for performing sort operation?