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.
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
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:
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.
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.