1825657 Members
3973 Online
109686 Solutions
New Discussion

LIB$SPAWN

 
Sk Noorul  Hassan
Regular Advisor

Re: LIB$SPAWN

Yes Archunan,

I will definitely submit points for all pending cases within few days.

Command : $Set protection=(S:rwlp,O:rwlp,G:,W:)/device TNA1:

This is working if given from DCL prompt.
Sk Noorul  Hassan
Regular Advisor

Re: LIB$SPAWN

Hi every body, Merry Chistmas ...

Now after creating the device successfully using "telnet/create_sess 10.192.1.12 2001 1"
through a dcl script inside pascal program, I am unable to allocate device protection to the created device TNA1: using the same dcl script.

In $CREPRC I have not used any UIC definition. if I am running run/prog_name/detached/proc=proc, from my account, it is successfully allocating device protection as required by me. I want to grant World access to the device through DCL script, but by default it is assigning access to only S & O when I am starting the process through it's own customized account.
Can anybody guide me how to solve the problem ?
Ian Miller.
Honored Contributor

Re: LIB$SPAWN

If you are doing this in a DCL procedure then SET SECURITY is the command to look at to modify the protection of the device you have created.

You appear to be creating a outbound telnet port. Why not use the telnet port driver QIO interface then you can do this from your program without DCL.
See
http://h71000.www7.hp.com/doc/82final/6529/6529pro_027.html#tel_func_code
____________________
Purely Personal Opinion
Sk Noorul  Hassan
Regular Advisor

Re: LIB$SPAWN

Hi Ian Thanks for your suggestion. Can u write few lines on Pascal, how to use this QIO service.