can u execute a proc from another proc?
Answer Posted / 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 View All Answers
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Brief description of inline procedure of jcl.
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Must tape dataset definitions include vol=ser specifications?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What are the 2 types of parameters in dd statement?
In sms datasets, what is the function of the dd avgrec keyword?
A dd statement consists of 4 fields. Name them?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What is the difference between the positional and keyword parameters? Give examples.
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
For what purpose steplib and joblib are used ?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?