Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IBM Interview Questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: IBM Interview Questions
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    Post subject: Re: can u any body answer these questions?
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    Post subject: Re: can u any body answer these questions?
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am
This topic is locked: you cannot edit posts or make replies. Mainframe interview on 10th Oct 2015 ... kotesh Mainframe Jobs 0 Thu Oct 08, 2015 5:21 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us