modifying a job description

200 pts.
Tags:
AS/400
Security
I created a job description with several initial library lists. I now need to add a new library but I don't want to add it to the bottom of the list. Is there a way to insert the library at the desired location? If not, I will have to retype the entire library list.

Answer Wiki

Thanks. We'll let you know when a new response is added.

One way is to do a SBMJOB commmand for CHGJOBD JOBD(xxxx) where xxxx is your jobd description and prompt(F4). Make a temporary change to an existing library in the list and press enter, that will bring the entire list back to the SBMJOB command screen without actually making the change yet. Then you can change the command to correct the change you made and insert the new library whereever you want. When you have all the changes entered, press ENTER and the change will be submitted to the jobq for you.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jadima
    If you want to do it manually then do the following; prompt the CHGJOBD command and go to the page with the libl. Position your cursor on the library name where you want the new library to insert and type over the first 2 characters the > sign and space. the prompt will give you new lines to insert the library names. finally press enter and the new libraries are inserted in the list.
    0 pointsBadges:
    report
  • DonKennedy
    Hey, Thanks. I never knew that and apparently it works for any similiar list.
    0 pointsBadges:
    report
  • Albyks
    In between the libraries insert > and type in the library name. Cheers' Alby.
    0 pointsBadges:
    report
  • AlainDriesen
    Hi, you can use AddLibLe lib(insertlib) position(*BEFORE LibinLibl). You can do it by CL to position. but you have to do it each time use this jobd and it's easy to forgot. EdtLibL lets you position libs but it's only valid for interactive job..
    0 pointsBadges:
    report
  • TomLiotta
    Every command prompting display has <F13=How to use this display> at the bottom. The ">" list insertion character is one of the special characters discussed in there. A few other items are also covered. You might also want to check:
    WRKOBJ OBJ(*ALL/*ALL) OBJTYPE(*SCHIDX)
    If you find any search indexes on your system, then maybe you should look into the STRSCHIDX command. There is much buried in these systems. (Note that search indexes are objects that you can create.) Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following