Ask Your Question
0

Pass arguments to IDV with runrspnsfile

asked 2018-09-13 13:45:57 -0500

KyleA gravatar image

Hi, I've used runrspnsfile() alot thus far but now I have some scripts that need arguments passed to them. Normally one does this in the idv itself like so:

BAT_CASE, %1%
@input parm.idv

where %1% is the first argument and it can accept up to 9 arguments.

How does one mimic this behavior using

psspy.runrspnsfile("parm.idv")

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2018-09-13 15:12:37 -0500

perolofl gravatar image

updated 2018-09-13 16:11:12 -0500

Just separate the filename and arguments with comma:

 psspy.runrspnsfile("'parm.idv',arg1,arg2,arg3,etc")
edit flag offensive delete link more

Comments

@perolofl Thanks! I figured it was something like that but the syntax isn't well documented.

KyleA gravatar imageKyleA ( 2018-09-13 15:45:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2018-09-13 13:45:57 -0500

Seen: 37 times

Last updated: Sep 13