Security Copy mess

 3 Replies
 0 Subscribed to this topic
 15 Subscribed to this forum
Sort:
Author
Messages
prithwee
Basic Member
Posts: 20
Basic Member
    Hello,

    I set up AP, GL and AC for SEC1 security class and went to data security and did INQUIRY ONLY for everythig. I was told that this won't stop users from submitting the batch programs in those modules. So I went to each batch program (non-reporting) and took all the options out except for INP.
    Q: Is that the best way or there is something faster than this?

    Now I had to set up a new class SEC2 where it had INQUIRY ONLY for AP and AC but full access to GL. I copied SEC1 to SEC2, deleted GL and then added GL back thinking that GL would have full access. Checked the data security for GL for SEC2 and it was ok. But when I checked the batch programs, I was surprised to find out that the options were only INP adn not ACDINPVSR. Please tell me that I do not need to go back to each batch program in SEC2 which changed in SEC1 adn reverese it to ACDINPVSR from INP. That would be tough job.

    Thanks
    prithwee
    Basic Member
    Posts: 20
    Basic Member
      Is theer a way that I can copy a system (AP) from one security class to another? It seems that I will have to copy all the systems from one class to another.
      Alex Tsekhansky
      Veteran Member
      Posts: 92
      Veteran Member
        There is a way to automate batch jobs function codes set. The hard way to do so is via the scripting engine that can capture the content of the TELNET window and submit keystrokes.
        I usually use SecureCRT and TeraTerm for this. For example, at some point I wrote a script that types all security classes in LAUA from CSV file prepared via Excel (that was before SECDUMP and SECLOAD time).
        The easy way, of course, would be to reverse-envineer SECDUMP output and script creation of the file that can be SECLOAD-merge into the security class. I have not done it so far, but may be someone else did?
        John Henley
        Posts: 3353
          No, there is not a way to selectively copy system codes from one class to another.
          Thanks for using the LawsonGuru.com forums!
          John