If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
What is the difference between CONTINUE & NEXT SENTENCE ?
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
what is amode(24), amode(31), rmode(24) and rmode(any)?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
What is the difference between perform … with test after and perform … with test before?
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?
what is ASRA, AEY9?
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
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.
describe 805 error