dbx syntax help

Discussion in 'C' started by mad_man12, Dec 6, 2010.

  1. mad_man12

    mad_man12 New Member

    Joined:
    Aug 14, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi All,

    The syntax for running the c executable for my application is

    myapplexe -D databasename inputfile

    myapplexe - my application executable
    -D = syntax to specify database(the exe can run against production or test database)
    databasename - name of the database live or test
    inputfile - input file to process

    Can you please help me on how to debug this using dbx
    as if it write
    dbx myapplexe -D databasename inputfile, i get the below error
    dbx: fatal error: extraneous argument posprd(databasename paramter)

    Thanks in Advance!!
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Not sure, have you tried passing the arguments via the run command? As in:
    dbx myapp
    run -D dbname inputfile
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice