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?

1430

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,

1477

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 2901

How to handle duplicate error handling in RPG?

1662

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

Accenture,

1 3754

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

Delete FileName at first statement in RPG.

1 2034

suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?

1 3027

why we do STRSRVJOB in batch debugging in as400

1 5183

suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 3522

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.

1225

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

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

1 1970

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 2654


Un-Answered Questions { MainFrame }

How to detect record is locked in cobol/400? What is the solution for that?

517


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

712


Differentiate between ci split and ca split?

536


What is lock escalation in db2?

564


Can there be more than one cursor open for any program?

652






i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2093


How to find all duplicate records?

522


Which is the difference between delimited by size and delimited by space?

586


how is the future of tandem mainframe?

2863


which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?

692


Explain how to update data area in cobol 400 program?

566


What is a scope terminator give example?

646


What is the difference between local and central version operating modes?

901


What is the difference between SEND MAP DATAONLY and SEND MAP MAPONLY ?

708


What is the result of open cursor statement?

627