what is rediffine clause?in what situation it can use?give me
real time example?
Answer / naidu sekhar yandrapu
When u want to use same working storage area for different
variables. u must ensure that the space must not use at same
time of program execution.For example perform xyz uses a
space ABCD pic x(9) and it will not be used .then other
part of the program can use that space ABCD.
Is This Answer Correct ? | 0 Yes | 0 No |
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
can we use COPY statement in w-s section? how?
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
how to transfer the file from pc to mainframe??
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..
Whats the use of Examine command? can someone help me?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
what is dynamic array in cobol? what is the difference b/w array and table in cobol?