IBM MainFrame Interview Questions
Questions Answers Views Company eMail

I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.

CTS,

5 9286

i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.

TCS,

1 6270

How to find in aparticular step how many versions a paricular gdg base have?

TCS,

4 17298

Can we use an equated value as operand for an MVC instruction? Reason for the same

IBM,

8 10368

What are db2 error codes -305 and -407. What is the difference between these 2 error codes ?

1 7131

How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?

CGI,

1 12074

I have the transaction name for cics screen.. With the transaction name, how will I find the cics program written for the transaction and BMS map program also...

CGI,

4 14713

5 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What would happen when the rollback is issued?

2 5207

if there is a table with huge number of records and if i want to extract only first 3 records from the table, what query i have to provide to retreive first 3 records

UST,

4 6545

Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?

IBM, UST,

3 8595

If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job

UST,

4 8287

i hav created a program and moved to production but failed to create the table which is been used in the program. the program shows error as soon as it is moved or installed in production or shows error during its runtime. what is the sqlcode for this error

UST,

3 5941

if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

UST,

2 7700

first when i try to write a record into the file, wresp=duprec, but follwed with that if i try to read the record it say record not fnd.. actually the record is not written in the file, but it says that duprec when trying to write... why this happens, pls help me asap..!

CGI, Love, TechRel,

1 4621

What does MAXCC 3 means? It is used in one my codes.

Wipro,

2 12796


Un-Answered Questions { IBM MainFrame }

What are the two types of fields available in ims db?

554


What is the significance of addrspc parameter in exec statement?

722


What is the purpose of relative record data set used in vsam?

677


What is a set in idms? What pointers are required, what are possible? How may sets be ordered?

497


How to move a field DT 9(8) of input file to DT 9(8) COMP-3 in output file in ezytrieve? in the output file entire dt is not moved.If any answer plz reply as soon as possible.

1636






Highlight the difference between a symbolic map and physical map?

590


What is the meaning of the enq command?

572


How many bytes does a s9(7) sign trailing separate field occupy ?

613


Is it possible to define dd statements as you want?

639


Can you define transid?

600


What is report-item in COBOL?

702


How can values be passed from the job stream to an executable program?

864


Explain the benefits you can get from mainframe connect?

514


What is data trace system 2.0 used for?

5140


In a particular cics program, what is the procedure to allocate dynamic memory?

718