Automic Community

Expand all | Collapse all

Passing Parameter from Application Manager to shell script

Jump to Best Answer
  • 1.  Passing Parameter from Application Manager to shell script

    Posted 02-21-2020 12:21 PM
    Is there a way to pass a parameter from Application Manager to a shell script?  I see that you can choose awsqlp for a parameter to pass to an sql script but I need this to work for a .shl script.


  • 2.  RE: Passing Parameter from Application Manager to shell script
    Best Answer

    Posted 02-24-2020 03:05 PM
    You can pass prompts similarly to what you do for sql prompts depending on how you define the program type in Applications Manager.  Also, you can user the appworx getvar command to get the value of a subvar.


  • 3.  RE: Passing Parameter from Application Manager to shell script

    Posted 02-25-2020 09:43 AM
    Thanks, Scott.  I had the same question and I'll read up in the getvar command.

    ------------------------------
    Applications Developer
    Emporia State University
    Kansas
    ------------------------------



  • 4.  RE: Passing Parameter from Application Manager to shell script

    Posted 02-24-2020 03:05 PM
    I figured out what I was doing wrong and all is working as I need it to.


  • 5.  RE: Passing Parameter from Application Manager to shell script

    Posted 02-24-2020 03:06 PM
    Thank you!