Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?
14 19496How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
6 20531I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
4 10528Why we need to use redefine clause when we can define the variable seperately... what is actual need....
5 12787Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?
1 5694Post New Accenture COBOL Interview Questions
What is the significance of name and eager attributes in managed bean?
What are some of the options available to transfer materials from one plant to another?
What is the linking function?
How do you check if a port is blocked?
Explain the Realisation concept and Accounting concept? why do you prepare p/l appropriation account? 4 difference b/w public and private caompany? How do you calculated closing stock in tradind a/c? Contents an invoice receipt? classification of Error as per accounting? Diff btwn Satutory audit & Internal audit? Diff b/w reserves for bad debts and provision for bad debts? Where the Bank book and the Cash book will not reconcile? When will the Cash book have a credit balance?
What is the use of @repository?
Explain the structure of a dna molecule?
What is blocking and how would you troubleshoot it? : sql server database administration
Kafka has written in which languages?
What is posteriori estimate?
How do you add and subtract time?
What is LiveLock?
What is difference between after and before?
what is the price of a cubic meter of concrete on international market?
What are ‘reduces’?