can u execute a proc from another proc?
Answers were Sorted based on User's Feedback
Answer / manikandan
hi all here is code for invoking proc within anothr proc
//proc1 proc
//step1 exec pgm=pgm1
//step2 exec pgm=pgm2
//step exec proc1
// pend
//*********below proc2 i invoke proc1***********
//proc2 proc
//step3 exec pgm=pgm3
//step4 exec pgm=pgm4
//step exec proc1
// pend
let me know any wrong from above
thank u
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / prasanna
Heyy can u pls explain me... how to do tat....
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ajay_sahu
Will u plz give the coding or statments...how to call or
execute another proc....
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kameswari
hello,
Yes we can call 1 procedure from another procedure.
Here is my code.
public void res()
{
MessageBox.Show(res2().ToString());
}
public string res2()
{
str = "phani";
return str;
}
Form1_Load()
{
res();
}
| Is This Answer Correct ? | 0 Yes | 7 No |
Name a few IBM utility programs, and explain its function.
how to put a dependency on job in jcl using opc scheduler?
What does a disposition of (MOD,DELETE,DELETE) mean ?
what is inrec fields and outrec fields in sorting
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....
Are there any set of rules for the names of the steps used in a job?
Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?
Explain how can the submitting users racf authority be overridden in a job stream?
In sms datasets, what is the function of the dd mgmtclas keyword?
What is Cataloged Procedures?
Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter