360 pts.
 ALCOBJ scope
I want to allocate the data area by using ALCOBJ command and I am confused about the in selecting the scope. Can anyone explain me about the difference between JOB scope and THREAD scope in details?

Software/Hardware used:
ASKED: January 23, 2009  7:09 AM
UPDATED: May 31, 2013  5:02 PM

Answer Wiki:
Hi Frmdeva From your question, it seems that you might not know what a THREAD is. "a thread of execution is a fork of a computer program into two or more concurrently running tasks. " Wikipedia A job turns into a number of simultaneous jobs that might be synced. This is a Web Sphere, Java, C type process. So it you're working in AS/400 native stuff - CL/COBOL/RPGLE you would allocate *JOB. That lock would be in place until the job ends or issues a DCLOBJ command. If a job allocates an object, one of the threads of the job can lock it down further so that no other thread or other job can use it. Phil
Last Wiki Answer Submitted:  May 31, 2013  5:04 pm  by  Michael Tidmarsh   14,000 pts.
All Answer Wiki Contributors:  Michael Tidmarsh   14,000 pts. , philpl1jb   44,630 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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