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 |
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 ?
If Region=0k means What Happen?
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?
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?
what is a cataloged procedure ?
How do you access an uncatalogued dataset in a jcl?
what happens if job falls in loop ? how to resolve it ?
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
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 ?
please could u tell me the difference between SORT, SYNCSORT,CA-SORT, DFSORT,