Under what special condition can we use EXEC statement in Procedures?

Showing Answers 1 - 7 of 7 Answers

Sankaran

  • Mar 26th, 2006
 

Exec statement can be used in the Embeded COBOL program. That is either by the COBOL DB2 or COBOL IMS programs.  EXEC SQL means DB2 query, cursor etc can be defined. EXEC DLI is used for IMS programs.

  Was this answer useful?  Yes

Rajalakshmi.K

  • Apr 20th, 2006
 

I think the question being asked is regarding EXEC in JCL procedures..am I right??

  Was this answer useful?  Yes

Hemachandran

  • Jun 14th, 2006
 

EXEC is a keyword which is used to tell what PROCEDURE/PROGRAM to execute. To analyze a JCL just type F ALL 'EXEC' and we can notice what are all the procedures and programs that the JCL executes......

  Was this answer useful?  Yes

siva

  • Jul 18th, 2006
 

While you want execute a program inside a procedure we can use

          Exec Pgm=N1233

am i right

   

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions