IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IBM Interview Questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveensri2005
Currently Banned

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Fri Sep 09, 2005 8:51 pm
Reply with quote

This is Interview questions from IBM

1. What is NOTIFY parameter in JCL?
2. In a job which has 10 steps how to execute only the first 5 steps and bypass the remaining 5 steps?
3. What is a null statement in JCL?
4. When we create 7 generation how do we copy it into one QSAM dataset?
5. How do you get data from a tape dataset?
6. When will you use TSO and TDQ in a program? Is possible to rewrite a record in TDQ and if no why?
7. How will you suspend and reactivate a task or transaction?
8. In a dataset there are 200 records, I want first 50 records. How will that be done?
9. In a dataset there are 50 records. I want the records from 50th byte to 80th byte. How can i get it?
10. I have a dataset. I need to insert one field in that layout. What are the impacts it will cause in the calling and called program?
11. When will MAPFAIL condition occur?
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Fri Sep 09, 2005 10:17 pm
Reply with quote

1) Notify parameter is used to notify the user when the job ends. you can specify in your job card like NOTIFY=USERID1, It notifies the USERID1 when the job get complete.

2) Using COND Parameter is one option. Or you can use null statement after the first 5 steps like coding just //

3) null statement in JCL is //

u can use IEBGENER or SORT utility to copy the files.

4) To see the data in the tape dataset, first you need to copy that data to the disk using SORT or some other utility...and then you can check the disk file using 3.4 option or using any tool like File-Aid.

7) use SORT UTILITY,
//SYSIN DD *
SORT FIELDS=COPY,STOPAFT=50
it just copies first 50 records

8) SORT FIELDS=COPY
OUTREC FIELDS=(1:50,31)
1 -> position in the output file
50 -> start copying from the 50th byte
31 -> is the length of the string to copy from 50th byte

9) Make sure that field is initialized along with other fields, if the file is used for output. Do the change in FD section, if necessary. Suppose the file is input, you can use this field in the logic as like any other field.
And you need to recompile the main program which the file is using, to reflect the new field in the layout, otherwise u will get file-status 39 error.

10) generally when the map specified is not found in the mapset. Please correct me if i m wrong.

Please correct me if i am wrong anywhere
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Fri Sep 09, 2005 10:32 pm
Reply with quote

5) TSQ is used to pass info from task to task, while a TDQ to accumulate records before processing or send data for external use, such as a printer or other.

Data can be changed in TSQ, but not in TDQ.

6) SUSPEND will allow other tasks to execute.
Calling SUSPEND explicitly is for when you are executing CPU intensive code which does NOT contain any embedded CICS calls. It allows you to avoid an AICA abend as well.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top