MainFrame Interview Questions
Questions Answers Views Company eMail

I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1805

can any body explain about plan and pakage in detail....

HSBC, IBM,

2 8759

what is meant by BUFND & BUFNI..?

1 10370

In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

Nous,

2130

am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 3534

Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?

TCS, Tech Mahindra,

3 8163

How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

TCS,

5 19548

Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?

2 6079

i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

Cap Gemini, Mind Tree,

3 13777

whats the diff bw the evaluate also and and?

CGI,

1854

what is mainframe?

CGI,

4 7559

diff bw vsam and normal flat file?

CGI,

2 15013

I HAVE A SEQUENTIAL FILE CONTAINING ONE RECORD IN WHICH I HAVE ONE FIELD AS CUSTOMER IDENTITY NUMBER FIELD WHICH IS A SIGNED FIELD. HOW TO SEQUENTIALLY INCREMENT THIS FIELD USING OVERLAY PARAMETER?.

1 4938

Name a few IBM utility programs, and explain its function.

4440

How to inner join more than 2 PFs in a CL program using OPNQRYF command?

1 5543


Un-Answered Questions { MainFrame }

what is the meaning of each of the values in shareopts(2 3)?

581


What is the difference between dbm cfg and db cfg file in db2 ?

1005


What is the maximum number of levels allowed in ims db?

547


Explain the function done by data manager?

853


Using alternate indexes in batch program?

593






define data structure?

1027


What is the difference between hdam and hidam databases?

566


Suppose I have a ksds file. I have a records like 1,2,3,4,5,6,...100. I want to read using dynamic mode like from 10 the record onwards like, 10,12,14,16,18,....60. Wat is the command for this?

365


Explain how to initialize a register to 0000?

585


What is dclgen (declaration generator)?

602


What are db2 objects?

641


What is host variable in db2 cobol?

604


how many printer files maximum can be used in single rpg program?

675


Explain how can the disposition of sysout datasets be set for an entire jobstream?

636


what is the procedure and explain about real time scenario.

1479