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 / adarsh562
abcde.....
0000000000
. indicates blank
Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
how do you reference the variable unblock file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
i want a program using by if, evaluate , string, unstring, perform, occurs?
what is search and searchall?what is the diffrence between them?give an best example?
What are the different open modes available in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What guidelines should be followed to write a structured cobol prgm?
What is link edit in cobol?
What do you understand by psb and acb?
example for sub strings ? and refernce modifications whit output pls
How many sections are there in data division in COBOL?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?