Focal Point
DSTRUN userid/password
August 11, 2008, 06:55 PM
AlanDSTRUN userid/password
I have created the following focexec to submit a ReportCaster schedule for processing:
-SET &DSTRUN =
- DSTRUN(
- 'userid',6,
- 'password',8,
- 'CORPAPPP18',10,
- 'S13epb6ifl27',12,
- ' ',0,
- 3,
- 'admin',5,
- 'RUNDATE=08/10/08',16,
- '',0,
- 'I4');
This procedure works when I use my userid/password as the first-two parameters, but I do not want to put my userid/password into a production. Besides, it's likely the system will force me to to change it soon and I don't want to have to update the focexec everytime it does. So, there must be a way to do this, maybe by setting up a "production" userid/password that doesn't change.
Does anyone else have a solution?
Alan
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL
August 12, 2008, 02:56 AM
GamPAlan,
I've come across this situation before, and it was then advised to create a special functional userid for just this purpose. These id's are usually set up such that they will not expire the password.
That way you will always have the same userid and password, which will be more or less 'static'. Another solution might be to encrypt your fexes, although I've never tested that.
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11. |
| in Focus since 1988 |
August 12, 2008, 09:18 AM
AlanGamP,
That's pretty much what I'm expecting to have to do but just want to check and see if anyone has another workaround. Thanks.
Alan
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL
August 12, 2008, 09:26 AM
jgelonaThat is what we did as well. In fact we just set up a generic fex that we run or -INCLUDE and just pass the schedule id.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
August 12, 2008, 10:01 AM
PrarieYou do not really need the userid and password...check out this
post | In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |
August 12, 2008, 10:20 AM
Alanjgelona,
Thanks for the feedback.
Alan
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL
August 12, 2008, 11:47 AM
AlanSo it sounds like the consensus is that you must set up a "production" userid/password at the network level that does not expire, right? Can you place other restrictions on the network id, like "no terminal access" to further lock it down?
Thanks,
Alan
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL
August 12, 2008, 12:50 PM
Carol DobsonPrarie, thanks for the tip, we also set up a generic ID, I will try it without and see what happens!
|
WebFOCUS 7.6.6/TomCat/Win2k3
|
August 12, 2008, 05:38 PM
AlanOkay, then. Prarie, your post got me to thinking so I went back and tried different combinations of userid/password and discovered that I can use the ADMIN userid without a password as the first-two parameters to DSTRUN and it submits the job just like it ought to.
Slick.
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL