Hello,

Does anyone have a method for me to pass system variable names in my
rules based script?

 

I have a project, Development.bws, with a script "TEST",

In that project, I would like to create a subroutine that "Prints" (Not
Writes, I don't want the quotation marks) the following information into
a file "C:\Download\ScriptStatus\<SCRIPTNAME>.log", each separated by a
| symbol:

1.      System NETBIOS name (computed by subroutine)
2.      Script Name (computed by subroutine)
3.      Type of report (passed as variable to subroutine)
4.      Schedule Type (passed as variable to subroutine)
5.      Expected runtime in minutes (passed as variable to subroutine)
6.      Scheduled Time (passed as variable to subroutine)
7.      Status of script (passed as variable to subroutine)
8.      Date of Status (computed by subroutine)
9.      Time of Status (computed by subroutine)

 

How do I code my subroutine for the following?

*       Machine NETBIOS Name (example GCASM065)
*       Script Name (example "TEST", "DAILY_CENSUS", etc. NOT
"C:\bss70\Scripts\Development.bws", which is what ScriptName() returns)

        *       Is there a way to use this routine to identify the
specific script rather than the bws project?

 

I can use the Format(Now(),<format>) command for #8 and #9, no problem.

 

 

Thank you,

Mitch Lawrence

Senior Applications Analyst - Advanced Report Writer

General Financials Support

CHRISTUS Information Management

': 361.881.3408  7: 361.888.6117

*: 361.549.8456  )AIM: a1d13  )MSN: [EMAIL PROTECTED]

*: [EMAIL PROTECTED]

 

Send a "thank you" <http://intranet.christushealth.org/spiritBuck/>  to
someone!

 

<<attachment: image002.jpg>>

Reply via email to