165 pts.
 modifying a job description
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.

Software/Hardware used:
ASKED: September 12, 2006  8:31 AM
UPDATED: December 17, 2009  7:14 AM

Answer Wiki:
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.
Last Wiki Answer Submitted:  September 12, 2006  2:42 pm  by  Stanayres   0 pts.
All Answer Wiki Contributors:  Stanayres   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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 pts.

 

Hey, Thanks. I never knew that and apparently it works for any similiar list.

 0 pts.

 

In between the libraries insert > and type in the library name.
Cheers’
Alby.

 0 pts.

 

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 pts.

 

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

 107,765 pts.