I hav vari declaration like.....
77 a pic s9(9).99.
77 b pic s9(9).99 comp.
77 c pic s9(9).99 comp-3.
if i use MOVE 123456789.99 to a,b,c what happen every one
working fine ?
Answer / sri
comp does not work fine becoz it does not support decimal format
| Is This Answer Correct ? | 10 Yes | 0 No |
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
which generation language is cobol
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
Is It Possible to Update or change in VIEW Mode?
Without using move verb how to move one variable to another.
what are the limitations of Inline Perform?
What is tne need to use sub programs in Cobol?
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
what is the advantage of using redefines instead of delaring the variables ?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error