How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
7 28674consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
3 8755consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
5 12504what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C
3 14299what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
5 9772Post New TCS COBOL Interview Questions
How can we improve the performance of a crystal report?
What modifiers are allowed for methods in an interface?
Explain lambda expressions. When would you use one?
What are the differences between forwarding () method and sendredirect() methods?
How is Bluetooth used?
Explain "VAR_INPUT" when defining a Function Block??
Compare and contrast between sql and sql server and explain its various functions?
State faraday`s law of induction.
What is buffer cash and log cache in sql server?
Wha is difference between expenses and expenditure
Explain About remoting and web services. Difference between them
Define the corporate structure.
How many functions are there in javascript?
How do you add an HTML element in DOM tree?
Explain Client and EXplicit Client dupsOK Acknowledge modes in jms?