Example 1: in the QSH ps -A is like doing a wrkactive job (but for pase jobs only) they have a five(5) digit PID (Process ID) on the QSYS.LIB side wrkactjob seems those same jobs have a different six(6) digit job number.... how are these jobs tied together or are they not?
Example 2: When I...
We have ported a unix application to the AS/400 PASE. Just currious if others are working in the PASE environment? I have discovered many things to share with others, but also have several questions..... Anyone?
I need to extract the PID from the file created by the command
ps -A >> myfile
PID TTY TIME CMD
29465 - 0:00 dbcd
29466 - 0:00 dbcfs
29467 - 0:00 dbcfsrun
29468 - 0:00 dbcfsrun
29469 - 0:00 dbcfsrun
grep 'dbcd' myfile > myfile2
29465...
Hi and thanks.
Does anyone have a simple sample script that will loop through a directory and echo out the name of the file to the screen. Something like "ls" does, but what I want to do with this is be able to run a command against each file name.
I tried this, but I get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.