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?

1420

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,

1461

what happens if parmparameter passes zero bytes to the program

HSBC,

1635

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 2864

How to handle duplicate error handling in RPG?

1634

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

Accenture,

1 3695

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 5625

Delete FileName at first statement in RPG.

1 2004

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

1 2999

why we do STRSRVJOB in batch debugging in as400

1 5134

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

1 3500

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.

1211

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,

1206

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

1 1944

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 2624


Un-Answered Questions { MainFrame }

Tell about how do you eliminate the duplicates?

502


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5038


Explain how to pass instream data in sysin with assembler?

628


Can you explain dfheiblk?

601


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

951






how do you reference the variable unblock file formats from cobol programs

713


what is the use of dspatr(mdt) keyword?

1404


can we define multi-dimensional arrays in rpg ?

899


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2121


what will happen if there is no secondary allocation made for datasets?

606


What is the default page size of buffer pools?

627


how will you display a particular page in subfile ?

1012


What is timing concept in mainframe?

1631


what is a physical file?

969


Write some characteristics of cobol as means of business language.

595