ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

QSH syntax question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • QSH syntax question

    Hi All:

    What is the proper qsh syntax on the following....I've tried
    chgvar &lecmd value('/QNTC/FRED/common/"Vendor Files"/"Vendor ABC01 9-07-2010"/ABC01CensusSelect.accdb')
    chgvar &lecmd value('"/QNTC/FRED/common/Vendor Files/Vendor ABC01 9-07-2010/ABC01CensusSelect.accdb"')
    and about a dozen other variations on the above.

    Code:
    dcl &lecmd    *char 1024                                         
    chgvar &lecmd value('/QNTC/FRED/common/"Vendor Files"/"Vendor +
      ABC01 9-07-2010"/ABC01CensusSelect.accdb')       
      qsh cmd(&lecmd)                                                
    endpgm
    The qsh error is " qsh: 001-0018 Error found running command " .....Permission Denied
    My profile has full permission (RWX) and matches my I5 profile & password

    The job log is:
    Message ID . . . . . . : QSH0005 Severity . . . . . . . : 00
    Message type . . . . . : Completion
    Date sent . . . . . . : 02/15/11 Time sent . . . . . . : 11:40:26
    Command ended normally with exit status 126.
    Is that not the correct method of executing MS Access?

    Any insight is appreciated

    Thanks
    GLS
    The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

  • #2
    Re: QSH syntax question

    that a new extension for M$ Access 2010? it's always been .mdb???
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: QSH syntax question

      Hi Tom:

      That's one of the Office 2007 extensions

      GLS
      The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

      Comment


      • #4
        Re: QSH syntax question

        cool...we're stuck in the stone-ages here with M$ office. M$ Office 2000...sigh my upgrade to Office 2010 is on order though!
        I'm not anti-social, I just don't like people -Tommy Holden

        Comment


        • #5
          Re: QSH syntax question

          Got into a corporate home use deal here, office 2010 pro for $9 USD with CD from mcro$oft, almost getting competitive with open office ...
          Greg Craill: "Life's hard - Get a helmet !!"

          Comment

          Working...
          X