MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Run COBOL programs with IDMS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Elroy
Beginner


Joined: 30 Jun 2006
Posts: 4
Topics: 2

PostPosted: Tue Jul 04, 2006 3:41 am    Post subject: Run COBOL programs with IDMS Reply with quote

Hi I'm new to IDMS and I'm trying to find out about how to run COBOL programs with IDMS. In particular how to specify the database/dictionary to use.

I've read some information on SYSCTL and SYSIDMS parameters in the JCL but I'm not sure when you should use one and when you should use the other. Is one for CV and the other for local mode? If you don't specify anything in the jcl are there any defaults it uses?

If anyone could clarify this for me it would be appreciated.

Thanks.
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Tue Jul 04, 2006 7:42 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Elroy
Beginner


Joined: 30 Jun 2006
Posts: 4
Topics: 2

PostPosted: Fri Jul 07, 2006 12:52 am    Post subject: Reply with quote

shekar123,

thanks for the info.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group