MainFrame Interview Questions
Questions Answers Views Company eMail

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

Barclays,

3 38070

How can we initiate a transaction from batch?

Merrill Lynch,

6 14686

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

iNautix,

3 26955

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 4775

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 8479

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."

14135

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 5504

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 11363

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

IBM,

2 18008

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

IBM,

4 16887

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

Cognizant, Keane India Ltd,

5 9599

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 9676

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

CTS,

3 18779

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 8074

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,

2005


Un-Answered Questions { MainFrame }

How to avoid using indicators in ile ?

765


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

706


What is the need for a secondary index in ims?

603


What are the mainframe computing pros and cons?

621


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

701






can I touch the array during treatments?

752


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

749


what do you mean by recovery and speed parameters in define cluster command?

582


what is scan and xlate?

1088


What is explain plan in db2?

588


what is the use of sflnxtchg?

797


What is the physical storage length of the data types date, time, and timestamp?

604


which utility is used a dummy utility?

789


What is the function of the dd mgmtclas keyword in sms datasets?

730


What is program status data structure(psds) in as400?

605