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
What is use of restart and how to use it?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Explain how can the attributes of one sms dataset be copied to another dataset?
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
what is JCL?
how JCL works?
What do you know about jcl?
Can we use DISP=SHR in output file in JCL
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
Is automatic restart possible in jcl? If yes, how?
What parameters can be used to limit the number of records written to a sysout dataset?
For what purpose steplib and joblib are used ?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
How do you submit a job for execution?
What is condition checking in jcl? Is this possible?