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 a GDG? How is it referenced? How is it defined? What is a MODELDSCB?
Explain about LMPUT-
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
7 Answers Cognizant, IBM, IGT,
I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.
In sms datasets, what is the function of the dd avgrec keyword?
what is the meaning of 'sysin dd dummy'
How to change default PROCLIB?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
What is the difference between the positional and keyword parameters? Give examples.
What is the use of ikjeft1b utility in jcl?
Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition in the JCL that calls this PROC?
Name the system library from which modules are retrieved at execution