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 |
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
How is a new GDG coded?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
wht is the d/f between positional parameter n keyword parameter ?
Can you execute a PROC from another PROC?
Explain how can a stopped job be started again?
HOw to submit a job from other user id.? for exp some other job name like "t4622sdx".now i want to submit that job from my user id?(we don't know that location at all Just we know job name)
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter
can we modify the code in copy book? if it possible how to submit ofter the modification.
which parameter is used to check the syntax of a jcl without executing it?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You