shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Tue Jul 04, 2006 7:42 am Post subject: |
|
|
Elroy,
Try this code for Run JCL:
Code: |
//STEP010 EXEC PGM=XXXX
//STEPLIB DD DSN=PROJECT.USERNAME.LOADLIB.DISP=SHR
//SYSCTL DD DSN=SYS1.IDMSV10.SYSCTL,DISP=SHR
//INP DD DSN=PROJECT.USERNAME.INP,DISP=SHR
//OUT DD DSN=PROECT.USERNAME.GDG(+1),DISP=(NEW,CATLG,CATLG),
// SPACE=(TRK,(1,1),RLSE)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//
|
If in any JCL if we have the SYSCTL dataset present then it is CV mode else it is in Local mode.
CENTRAL VERSION
---------------
Under central version (CV), many programs share a single copy of IDMS/R. CV controls both batch and teleprocessing tasks.
The advantages of CV are:
1.The single copy of IDMS/R can control access of record occurrence and areas, so concurrent controlled update is possible.
2.If a program running under CV aborts, CV automatically initiates recovery.
3.A single copy of IDMS/R requires less memory than multiple.
4.The processing effects of a program are isolated from other programs running concurrently until the program completes a recovery unit.Thus programs act as though they are running in isolation while they are actually running at the same time.
LOCAL MODE
----------
In local mode, each application program has its own copy of IDMS/R.
Different copies of IDMS/R cannot update the same area, so sharing is restricted. Several programs can run concurrently only if they update disjoint areas.
Local mode is normally used in a batch-only environment because of low overhead. _________________ Shekar
Grow Technically |
|