COBOL Interview Questions
Questions Answers Views Company eMail

Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

iNautix,

5045

COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'

Barclays, IBM,

8 12594

Whats the use of Examine command? can someone help me?

IBM,

1 4238

Can we change the password using ALTER? anyone tried and changed?

IBM,

1533

I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?

CTS,

1 5248

How to recover a deleted source physical file from library?

HCL,

1 3251

If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?

2 4219

what happens if parmparameter passes zero bytes to the program

HSBC,

1648

Why 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?

Accenture,

1 5694

I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

HCL,

1219

In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.

CSC,

1 2653

If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....

HCL,

1 3236

If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

HCL,

1 1928

How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

HCL,

2713

What is SQL Code -904 and -903 in DB2 And how to handle it?

IBM,

1 6024


Post New COBOL Questions

Un-Answered Questions { COBOL }

How do define dynamic array in cobol.

659


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1942


Which is not true about evaluate statement

1560


i want a program using by if, evaluate , string, unstring, perform, occurs?

4033


What rules are followed by the search verb.

627






which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1013


What is static and dynamic call in cobol?

584


What is the difference between binary search and sequential search?

630


) what is the difference between AID and HANDLE AID?

1626


what is amode(24), amode(31), rmode(24) and rmode(any)?

684


How to know whether the module is dynamical or statistical?

646


In which area will you utilize 88 level items in cobol?

704


What is rmode(any) ?

676


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1576


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2083