Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Some Interview Queries

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
sanya9

New User


Joined: 05 Sep 2005
Posts: 13

PostPosted: Tue Nov 15, 2005 12:49 pm    Post subject: Some Interview Queries
Reply with quote

1. I've 2 catloged procedures.
proc1 & proc2.In proc2 i've some statements ,i want to call proc1.so,how can i code.pls anybody can advice me.

2.same question ,a small modification, i've 2 procs. in my new jcl statement, i've to call that 2 procs, proc1 & proc2 which are in different datasets.how can i code these two procs from two different datasets.is it possible to code two different datasets.

3
a.i've generations +1 ,+2,+3 .....+10.so,i want create +10 generation after +2. can we create alternatively with different generations.but,after end of the job,how it vl allocate.

b. can i start my new generation with +10.

c.i've +1,+2,+3,+4,+5 generations .suppose i've 1 corrputed GDG data set vth +3.i deleted that GDG & i want the same GDG.how can get that same generation. once,generation is deleted the series vll allocated to other datasets.if i delete my corrupetd GDG & i vll code + 3,can it vll allocate same GDG.
4.i want the information about that 64k record,how can i trace that record vth 64k bytes?
5.why package is not executable & pan is executable?
6.i've 3 A,B,C variables A is in comp3 , another B is in comp2 & C is in comp.
can i move my data(numeric or string)
from comp3 to comp1 ,comp3 to comp2,comp3 to comp.

7.i've 4 main programs A(static call),B(static),C(dynamic),D(dynamic) Programs & E is subprogram.so,which programs vll affect & E is call another sub-program F.E(static)-F
my doubt is again E is calling F with static call.so,what programs will affect?

pls my friends ,i hope & trust anybody can can clarify my queries.

regards,
kiran..
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Nov 16, 2005 2:08 am    Post subject: Re: Some Interview Queries
Reply with quote

sanya9 wrote:

1. I've 2 catloged procedures.
proc1 & proc2.In proc2 i've some statements ,i want to call proc1.so,how can i code.pls anybody can advice me.

Code:

//JOB1 JOB (....)
//*
//JS01 EXEC PROC2
//*

Code:

//PROC1 PROC
// .... statements

Code:

//PROC2 PROC
// ... statements
//PSxx EXEC PROC1


sanya9 wrote:

2.same question ,a small modification, i've 2 procs. in my new jcl statement, i've to call that 2 procs, proc1 & proc2 which are in different datasets.how can i code these two procs from two different datasets.is it possible to code two different datasets.

The job won't care as long as the two procs have different names. You will, of course, need a JCLLIB statement:
Code:

//JOB1 JOB (...)
//*
// JCLLIB ORDER=(MY.FIRST.PROCLIB,MY.SECOND.PROCLIB)
//*
//JS01 EXEC PROC1
//*
//JS02 EXEC PROC2


sanya9 wrote:

3b. can i start my new generation with +10.

Yes. Try it.
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Wed Nov 16, 2005 6:07 pm    Post subject: Re: Some Interview Queries
Reply with quote

3. c) Once the GDG is deleted it will not allocate the same GDG number. It allocates next number. To allocate same GDG number you may have to hard-code in the JCL.

5) It is discussed many times. plz Search the forum.

6) You can move

7) I understand u r calling E (which makes static call to F) from A & B using static calls. In this case these two programs load module will effect as you need to link-edit again. But C& D issue dynamic call to E. In this case only E load module will effect, as there is no change to your C & D load modules.

Correct me if I am wrong.
Back to top
View user's profile Send private message
sanya9

New User


Joined: 05 Sep 2005
Posts: 13

PostPosted: Wed Nov 16, 2005 8:43 pm    Post subject: thanks..to all of my group members
Reply with quote

Hi,
Superk,
thanks for ur advices.

hi,
kumar,
u told that can we move.can u explain vth an expample
.i've 3 A,B,C variables A is in comp3 , another B is in comp2 & C is in comp.
can i move my data(numeric or string)
from comp3 to comp1 ,comp3 to comp2,comp3 to comp.
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 Need help with below queries ashek15 DB2 3 Thu Mar 23, 2017 1:38 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 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
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us