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

how can we pass external data to instream procedures

5 Answers   IBM, Infosys, Ocwen,


Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?

4 Answers   IBM,


If Region=0k means What Happen?

2 Answers   IBM,


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

10 Answers   iGate,






what is a cataloged procedure ?

1 Answers   Xansa,


How do you access an uncatalogued dataset in a jcl?

0 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

2 Answers  


COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?

4 Answers   IBM,


please could u tell me the difference between SORT, SYNCSORT,CA-SORT, DFSORT,

1 Answers   IBM,


Categories