Any way around TSO PROFILE PREFIX requirement


Question

Is there any way to get around the fact that in TSO script requires you to have a TSO PROFILE PREFIX? Our general logon proc is setup for PROFILE NOPREFIX and we don't want to change it.

Answer

  The easiest way is to create a CLIST or EXEC that's run when the user
  issues the SCRIPT command. Have the CLIST set a PREFIX to the userid,
  invoke script then reset PROFILE to NOPREFIX when it's done. If the user
  script files have .DD control words which rely on the fact that no
  PREFIXing is done they would either have to change them or use the next
  option.

  Another way is to create a modified profile which, on pass 1 only, sets up
  the utility files so they are not dynamically allocated (which relies on a
  unique prefix setting). Remember to use the DDUT command option.

      .if &amp$PASS eq 1
      .th .dd dsmutmsg dsn 'myuserid.myfile.text(dsmutmsg)'
      .th .dd dsmuttoc ..

Last updated: 93/08/04 14:08:15

Previous Contents Next