What is the size of s9(19)comp3? explain
Answers were Sorted based on User's Feedback
Answer / sreekanth
the size of s9(19)comp3 is 10.because in comp3 whenever the
size is odd then we can use the following formula.i.e
n+1/2.so 19+1/2 is 10 then the size of s9(19)comp3 is 10.
| Is This Answer Correct ? | 20 Yes | 6 No |
Answer / ajeet
I think the maximum numeric size allowed for numeric
is s9(18)comp-3.
correct me ?
| Is This Answer Correct ? | 12 Yes | 2 No |
Answer / sekhar
numeric size only 9(18).
alphanumeric is x(3273).
alphabit is A(3273)
so answer is we cant declare s9(19)
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / vkw
If i have s9(20)comp3.the ans is 21/3=10.5 that means its
round off to 11.why it is rounded off and how it will
happen annd on what basis.
| Is This Answer Correct ? | 4 Yes | 5 No |
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
What is the maximum length of a field you can define using COMP-3 in COBOL?
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.
What are the divisions in a cobol program? Which one is the mandatory division among them?
How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one
In COBOL, what is the different between index and subscript?
1 Answers TryTechnicals Pvt Ltd,
How can you pass values from COBOL program to non-COBOL programs?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Following questions were asked in Capegemini on 8th sep,2012 mainframe test 1.)Condition code for dul recors in VSAM- 2.) Is NULL or =NULL in Select statement 3.)max size of CI 4.)What happens after CI is full 5.)Ques on COND parameter 6.)which among following can not be rolled back a)delete table b.)droptable c)Update d.)insert 7.)groupby and orderby sql querries 8.)Max extents in VSAM file 9.)quesn on DPRTY=(1,10) 10.)range of condition codes in COBOL 11.)occurs clase can not be used at which level? 12.)delimiter in jcl 13.)sort card for file in PGM=SORT 14.)PIC(6) value 120056 possible? 15)question on BLKSIZE Is (20,20) and (20,10) possible? 16.)number of bytes in RDF 17.)Can we use index in WS-section or LK-section 18.)Verify command in IDCAMS used for? 19.)question on Alternate Index 20.)Return code of file attribute mismatch 21.)In which format COBOL variables stored? 22.)what is Alternate of HANDLE? 23.)can SUM,AVG,MIN,ROUND used in numeric and char variable data types? 24.)What is the datatype of FILE STATUS codes in WS-section?
what r the types of perform statement
How much salary you are expecting? If they ask in an interview, what we have to tell?
6 Answers Tech Mahindra, Wipro,