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
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What are the difference between jcl and jes?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
How would you understand error(execution phase)?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What statement can be used to send data to another mvs jes3 node?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
what is JCL?
How does the jcl specify the job to os?
Explain about LMFREE�free data set from its association with data ID
Mention the types of job control statements?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
what is the purpose of coding notify parameter in job statement?