Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Posts
    17

    Question Unanswered: Cobol Subprogram sample called by batch and cics programs

    hello,
    Could i ask you if you have a sample subprogram in Cobol which uses DB2.
    This subprogram is a particular because it can be called by both batch and cics programs (called by batch programs and linked by CICS program).
    This program just select, update and delete file.
    Thanks for you help.
    I know in CICS i can use the sentence
    'exec sql select / insert / update'
    But will this order can be understand by batch environment ?
    Thanks a lot
    Cheers

  2. #2
    Join Date
    Apr 2005
    Location
    USA
    Posts
    130
    Looks like you are accessing the stored procedure in the CICS environment. Stored procedure is nothing but a batch program with few exceptions.

  3. #3
    Join Date
    Mar 2006
    Posts
    17
    Thanks a lot schintala

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •