+ Reply to Thread
Results 1 to 4 of 4

Thread: PDM user settings - Where are they stored?

  1. #1
    Guest.Visitor Guest

    Default PDM user settings - Where are they stored?

    I work for a training company, and as such we run a suite of programs to set up course profiles and libraries. I need some way of setting PDM settings (such as JOBD and UserOptionsFile) from within a batch program. Any ideas??

  2. #2
    D.Handy Guest

    Default PDM user settings - Where are they stored?

    Rob, "I need some way of setting PDM settings (such as JOBD and UserOptionsFile) from within a batch program." You may be SOL on this. The settings are stored in an object in QSYS by the same name as the user profile, but with a type of 0E and subtype of C4. I believe this combination is referred to as *INTPRF for interactive profile, but that special name is not useable on commands which ask for an object type. There is no API interface to this object, that I know of anyway. But you can see how they are stored by doing this: DMPSYSOBJ OBJ(username) CONTEXT(QSYS) TYPE(0E) SUBTYPE(C4) At security levels 30 or below, you could in theory manipulate the information using MI or even RPG IV by using MI builtins to resolve to the above object. But it would be "unsupported" at best. Since CRTDUPOBJ does not allow *INTPRF, you also can't easily have various templates that you copy over the object after creating a profile. One option may be to create an emulator macro which automates stepping a profile thru starting PDM and setting the options you want. But it would still take signing on by that profile and invoking the macro. It would also be possible to use the Virtual Terminal APIs to do this in batch from the 400, but that is not a task for the feint of heart... Doug

  3. #3

    Default PDM user settings - Where are they stored?

    Hi Rob, With the information provided by Doug you could alter this code written by Gene Gaunt to make the changes for you: http://207.212.90.55/MCForums.nsf/af.../34a0a8fbda45f 41e88256811006279d0?OpenDocument As Doug pointed out this is not a supported interface so all possible precautions should be taken if you decide to try it out. Best regards, Carsten Flensburg

  4. #4
    Guest.Visitor Guest

    Default PDM user settings - Where are they stored?

    I wonder where PDM gets the info, and WHEN ??? Just a thought.. bobh

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: 03-11-2005, 06:19 PM
  2. Settings to disable Authentication
    By Guest.Visitor in forum IBM
    Replies: 0
    Last Post: 04-01-2004, 09:39 AM
  3. Default User Settings
    By Guest.Visitor in forum Analysis
    Replies: 7
    Last Post: 10-22-1999, 12:47 PM
  4. Rotation settings
    By Guest.Visitor in forum Application Software
    Replies: 1
    Last Post: 04-07-1999, 08:15 AM
  5. Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts