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 |
What is the DD statement for a output file?
Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.
9 Answers iGate, Lehman Brothers,
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".
how to see the latest generation in gdg?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
What is the use of disp parameter?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
What is the improvement to COND= in the latest version of MVS?
whats the diff bw the evaluate also and and?
Why do you use a control card?