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

Some Interview Queries


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Wed Nov 16, 2005 2:08 am
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
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
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 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 Index related queries DB2 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 Need help with below queries DB2 3
Search our Forums:

Back to Top