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

diff bw vsam and normal flat file?

2 Answers   CGI,


what is use of dsn parameter in dd statement?

0 Answers   IBM,


How to read records in reverse order in flat file?

1 Answers  


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

0 Answers   IBM,


what is use of disp parameter in dd statement?

0 Answers   IBM,






What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


wt will happen to the step of a job if u code COND=ONLY

5 Answers   ADP,


how you can direct the data to spool using SYSOUT option?

0 Answers  


Can we change the LIMIT of GDG?

6 Answers   HCL,


How is a new GDG coded?

2 Answers  


if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,


What are steplib and joblib? What for they are used?

0 Answers  


Categories