295 pts.
 Writing command WJ that will do the same thing as WRKACTJOB?
need you help once more. I want to create a cl program. instead of wrinting wrkactjob, i want to write wj having the same result. The problem is i don´t know programming, so if somebody could make a clp to me so i could read it and understand it, it would be great. Tanx a lot

Software/Hardware used:
ASKED: May 6, 2011  3:41 PM
UPDATED: May 6, 2011  5:28 PM

Answer Wiki:
Are you asking to have a commad WJ that will do the same thing as WRKACTJOB?* If you want to do it without any programming. CRTDUPOBJ OBJ(savlibl) FROMLIB(*LIBL) OBJTYPE(*CMD) TOLIB(QGPL) NEWOBJ(WJ) my purpose is to start programming, so i think this is a fine way of training.
Last Wiki Answer Submitted:  May 6, 2011  5:07 pm  by  CharlieBrowne   33,695 pts.
All Answer Wiki Contributors:  CharlieBrowne   33,695 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

that’s right CharliBrown

 295 pts.

 

by the way, is there any way to know wich libraries are added when i login the system?

 295 pts.

 

How much of WRKACTJOB do you want to emulate? Do you want all of the same parms or do you simply want a shortcut for WRKACTJOB with no parms? A simple shortcut doesn’t require programming if the emulated command string is 32 bytes or less.

If some parms need to be exposed, it might not make good sense to create a short-cut name.

Tom

 110,115 pts.

 

Regarding your libraries added.
Do you have a command lib.
If so, you can DSPLIBL.
*
I think it mightr be a good idea for you to get some books/manuals and do a little reading and research. You will retain the information better as opposed to just getting answers for someone else.

 33,695 pts.