can u execute a proc from another proc?

Answers were Sorted based on User's Feedback



can u execute a proc from another proc?..

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

can u execute a proc from another proc?..

Answer / manju

i tried and its working

Is This Answer Correct ?    2 Yes 0 No

can u execute a proc from another proc?..

Answer / prasanna

Heyy can u pls explain me... how to do tat....

Is This Answer Correct ?    0 Yes 0 No

can u execute a proc from another proc?..

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

can u execute a proc from another proc?..

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

Post New Answer

More JCL Interview Questions

What is a MODEL Paramater in GDG ?

2 Answers   Xansa,


We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?

2 Answers  


AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS

3 Answers  


what sort card you will use to copy the data from one dataset to another dataset?

0 Answers   IBM,


Explain the function of the steplib dd statement?

0 Answers  






how can u understand ps and pds from their names ?

1 Answers   TCS,


Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?

6 Answers  


If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

10 Answers   IBM,


can we modify the code in copy book? if it possible how to submit ofter the modification.

3 Answers   IBM, L&T,


What is the use of disp parameter?

0 Answers  


Explain how can values be passed from the job stream to an executable program?

0 Answers  


i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you

3 Answers   L&T, Wipro,


Categories