Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2003
    Posts
    2

    Post Unanswered: Db2 Sequnce in Cobol program

    Hi
    How to get the NEXTVAL of a Sequence in COBOL program. Please give me sample code.
    Thanks,Uma

  2. #2
    Join Date
    Apr 2002
    Posts
    18

  3. #3
    Join Date
    Feb 2003
    Posts
    2

    Re: Db2 Sequnce in Cobol program

    Originally posted by samamahesh
    Hi
    How to get the NEXTVAL of a Sequence in COBOL program. Please give me sample code.
    Thanks,Uma
    Hi Thanks for your reply,

    Basically i am looking at sample code to get the sequnce number for example an account number ( similar to Oracle Sequnce number).
    I am working on Mainframe with DB2 as database, Cobol is programming language.
    Is there any function in DB2 which gives the same results of Oracle Sequnce Number.
    If it is, please let me know, and please provide sample code.
    Thanks,
    Uma

Posting Permissions

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