Can we move X(7) to S9(7) COMP?
Answer / shib
yes we can if value of x(7) contains numeric data like 1234567 or 0000000
We will not get any error.
| Is This Answer Correct ? | 0 Yes | 1 No |
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
what is subscript in cobol?give realtime example?
What is the difference between CONTINUE & NEXT SENTENCE ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how to transfer the file from pc to mainframe??