IBM MainFrame Interview Questions
Questions Answers Views Company eMail

In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?

1428

I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

IBM,

1471

what happens if parmparameter passes zero bytes to the program

HSBC,

1648

Could you please let me no the query for below I have table name xyx under this there is column name called employee name which starts from 100th column ends 120th column,now i want to replace only column from 101 to 104 which contains ABCS to replace with PQRS for all records which comes beetween 101 to 104 ..how to write query for this..

HSBC,

1 2884

Do we need to code DCB parameters when using DISP position as MOD?

Accenture,

1 3746

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 5692

have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.

1222

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,

1217

What will happen, while trying to close the closed cursor.

1 1961

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 2647

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 3231

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 1926

How to restart a DB2 program?

Cognizant,

1348

how to compare two datasets without using superce because output is limited to 133 bytes

1469

what are the types of abends that occur on job failure? And explain the possible causes of these

1104


Un-Answered Questions { IBM MainFrame }

what is u r recent task in insurence project?..plz tell how to tell this.

2808


What does db2 mean?

573


Explain ibm z?

566


Why is it required to have a keyed directed retrieval?

544


Differentiate between cs and rr isolation levels? Where do you specify them?

566






What are the cobol coding sheets?

652


Specify the requirements for automatic task initiation?

550


Explain control variable in online screens?

539


How can you access esds files from cics?

576


What is the max length of sqlca?

752


Explain in DD statement what is the use of DCB parameter?

636


Write about the self-referencing constraint?

567


Explain how to access vsam file?

599


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

615


How to check last update on table in db2?

618