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
Can an individual step be restricted from using all the jobs allowed cpu time?
How gdg are concatenated?
what is the compile process of cobol program expalin with code
What do you understand by the term notcat 2 – gs?
what is DD statement is used in JCL?
What do you understand by jcl?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
what is SOC4 error?
Is it possible to define dd statements as you want?
How can values be passed from the job stream to an executable program?
what is DSN in JCL and what are the parameters to declare the DSN?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
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 to execute 2nd and 4th steps among 5 steps in jcl proc?
what is DSN parameter and DISP parameter is used for?