in the TIME parameter we r giving hours r minutes
Answers were Sorted based on User's Feedback
Answer / satyanarayana
time = (1,2)
1 = minutes
2= seconds
we dont mention the hours
| Is This Answer Correct ? | 20 Yes | 0 No |
Answer / mahii
time =(10,4)
10 = MINUTES
4= SECONDS
BY DEFAULT ITS IS 1440
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sushant kumar mohanty
TIME=(MINUTES,SECONDS)
MINUTES<=1440 and SECONDS<60
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / reddyp
I checked in my environment time = (1,10) means
1 hour and 10 mnts.
In many books they will specify as (mints ,secs)
| Is This Answer Correct ? | 1 Yes | 8 No |
i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..
Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.
i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)
3 Answers Cap Gemini, Mind Tree,
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
In an EVALUATE statement, can I give a complex condition on a when clause?
How many variables can be declared in w-s section.?
Can anybody give me example of subscript and index
01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?
How do you define a variable of comp-1 and comp-2?
How to execute a set of JCL statements from a COBOL program?
consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above
what is the maximum error code in mainframe