MainFrame Interview Questions
Questions Answers Views Company eMail

What is the use of using MDT in CICS? How it works?

Barclays,

3 38025

How can we initiate a transaction from batch?

Merrill Lynch,

6 14666

How to skip first step of a job? Can we use COND on the first step?

iNautix,

3 26894

There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.

Merrill Lynch,

2 4763

My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?

HCL,

2 8457

RETRIVING DELETED RECORDS :- I'm frequently asked how to retrieve deleted records from an unjournaled physical file when the deleted records have not yet been removed from the file. Utility UNDEL lets you undelete records in a physical file. This public domain program is available in CISC and RISC versions, and the complete source code is available for download at: UNDEL for AS/400 Save File (RISC): http://www.as400network.com/sharewarefiles/undelris.zip UNDEL for AS/400 Save File (CISC): http://www.as400network.com/sharewarefiles/undel.zip UNDEL for AS/400 Save File (Source code): http://www.as400network.com/sharewarefiles/undelsrc.zip The utility takes advantage of the fact that deleted records in physical files are only flagged as deleted, and the record data still exists until it is overwritten or the file is reorganized with a utility such as RGZPFM. UNDEL simply reads the deleted record, then reuses the record by writing over it with the new record (thus eliminating the flag for the deleted record). Some homegrown and commercial utilities copy the file containing undeleted records to a save file, then use a program to read the save file, which contains live and undeleted records, to a file to undelete the records. The UNDEL utility is superior to the SAVF technique because there's no need to copy the file to a save file, which is especially important for really large files. When run, UNDEL displays the physical file records in their unformatted, raw text form. You can either position the display to a given relative record number or use F19 or F20 to find the previous and next deleted record, respectively. The utility also includes online help, which is almost unheard of for free utilities. Other utilities include the ability to undelete records. You can use the RTVDLTRCD command in the old QUSRTOOL (no longer supported by IBM). QUSRTOOL is now a commercial product called TAA Productivity Tools ( http://www.taatool.com ). The free file editor WRKDBF has a built-in undelete capability ( http://www.wrkdbf.com ), and several commercial file editors can undelete records. For a complete list of file editors, go to http://www.sourcebook400.com, select "Programmer Tools" under "Product Category," then select "File Editors."

14106

I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

IBM,

1 5487

I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.

IBM,

9 11305

What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

IBM,

2 17971

How do I read records from Subfile? what is the purpose of READC explain with example?

IBM,

4 16866

By looking into the Jcl can we identify the dataset is VSAM?

Cognizant, Keane India Ltd,

5 9571

By looking into JCL can we identify the dataset is VSAM (VSAM dataset supposed to be a input dataset).In this scenerio how will we identify the dataset is VSAM ?

Cognizant, EDS, Shridhar,

5 9648

How to identify where file is empty or not? How many ways are there to identifying?

CTS,

3 18760

My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.

CTS,

4 8046

I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

Cap Gemini,

1998


Un-Answered Questions { MainFrame }

What is drda ?

590


How many bytes S(8) comp field occupy and its maximum value?

1620


In Which Specs Arrays, Tables & Constants Are Defined?

694


by using xpeditor if we want to debug the subpgm, how can you code in x-ped for mai-pgm n sub-pgm ?

1778


Why do we use "drop"?

557






In COBOL programming, what is PERFORM? What is VARYING?

664


how can we repair a soc-7 error?

553


What are the full forms of spufi and dclgen and why are they used?

646


Define exec cics retrieve?

675


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2402


What parameter of the job statement is used to limit the cpu time consumed by the job?

832


What is dbrm? When it will be created?

588


can a indexed file be accessed in arrival sequence in rpg program?

930


Which is faster delete or truncate?

669


Differentiate between addressing mode and run mode.

606