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
axiskumar

New User


Joined: 05 Dec 2005
Posts: 4
Location: india

PostPosted: Sat Jul 26, 2008 4:50 pm    Post subject: IBM Interview questions
Reply with quote

Hi All,

Please answer the below questions if know ...

1) How to pass more than one record in SYSIN DD *

If you pass more than one , how can we obtain the data in program


2) How to know if somebody log in CICS Region or not

Any command? to know this

3) How to concatinate two diff VB vsam files.


4) I need to copy the GDG to flat file after creation for back up, the job.At max we can generate 250 generations , if more than 250 generations, the oldest or all will delete, but I need to copy those also to sequential files.

HOw we can achive this?

5) can we send file in sysin dd *

6) can we mention executable copy books in COMPILATION JCL

7) I have requirement to increase the lengh of the perticular filed from pc 5 to pic 8. I need to change this change for 300 programs , how can I change this one time?

8) IN CICS PF7 LOGIC?

9) I have a set of sql staments in one member, How can i use this member in cobol-db2 program?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Sat Jul 26, 2008 5:22 pm    Post subject:
Reply with quote

1. Put more than one record in the SYSIN. The record(s) are passed by the program opening SYSIN for input and reading them.

2. Look at the log to see if they signed on. Custom code can be written to determine who's logged onto a region but there's no simple command to give you this; you can identify current tasks but that only helps if the person's running a task at that moment.

3. The JCL Reference manual specifically says concatenation is for sequential or PDS files only. VSAM files cannot be concatenated.

4. Use GDG base name, which allows you to copy all generations. Once they've rolled off the GDG, they are typically deleted from the system so you cannot then back them up.

5. SYSIN is for input to a program, including system utilities. You cannot "send file" or do anything except read that data into a program.

6. Compilation JCL means you're talking about source. Source becomes executable but cannot directly refer to the executable data.

7. Use the change tool for the source code version control package you use.

8. EIBAID will be set if PF7 is hit. What your program does with this information is up to the program.

9. I don't use DB2 so no idea on this one.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Jul 26, 2008 5:37 pm    Post subject:
Reply with quote

Quote:
4) I need to copy the GDG to flat file after creation for back up, the job.At max we can generate 250 generations , if more than 250 generations, the oldest or all will delete, but I need to copy those also to sequential files.

What happens to the GDG generations when the limit is reached depends on the GDG base definition parameter EMPTY / NOEMPTY.

Once again, although Robert is perfectly correct in his description of the GDG being rolled off and deleted, but this can be changed if the NOSCRATCH parameter is used in the GDG base definition. Although this is not usually the case, I have had to deal with the mess of badly defined GDG's in the past icon_eek.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Sat Jul 26, 2008 6:07 pm    Post subject:
Reply with quote

Good point expat, I've had to deal with those issues as well. And they're not a lot of fun ... at least I did say "typically"!

Although I still wonder what
Quote:
the oldest or all will delete, but I need to copy those also to sequential files.
means in terms of "all will delete", and if they're deleted just how the O/P expects to copy them to sequential files. Which raises the question of just what the O/P thinks a GDG is, if not a sequential file? Let's not go there ... too early on a weekend for that kind of question! icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Jul 26, 2008 6:50 pm    Post subject:
Reply with quote

Quote:
at least I did say "typically"

Yes, I noticed, and have plagerised that one into the CMA folder icon_smile.gif
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 The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
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


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