Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to edit the JCL for the IMS DC COBOL program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
stonegirl

New User


Joined: 23 Feb 2007
Posts: 5
Location: indian

PostPosted: Sat Feb 24, 2007 9:52 am    Post subject: How to edit the JCL for the IMS DC COBOL program?
Reply with quote

Hi all,
Can anybody tell me how to edit the JCL for the IMS DC COBOL program.
I got this abend when i tried to submit the JCL.
09.46.54 JOB03637 $HASP165 G400048J ENDED AT ZOSYSTEM - ABENDED S0C4 U0000 CN(INTERNAL)
The JCL I used is given below:
Code:

//STEP1 EXEC PGM=READIMS1                                         
//STEPLIB DD DSN=OPERN.CICS3.LOADLIB,DISP=SHR                     
//        DD DSN=IMS810.PGMLIB,DISP=SHR                           
//        DD DSN=IMS810.SDFSRESL,DISP=SHR                         
//MSGFIL DD DSN=G400048.QD.MSGFILE,DISP=SHR                       
//SYSOUT DD SYSOUT=*                                             
//SYSIN   DD *                                                   
/*       


Shi Lei.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Feb 26, 2007 6:54 am    Post subject:
Reply with quote

Hi Shi Lei,

Your posted jcl invokes "your" program.

I believe you will need something like this:
Code:
//STEP01 EXEC PGM=DFSRRC00,REGION=0M,
// PARM='DLI,DSNMTV01,program,40,00'


The following info is in a previous thread in the IMS forum:
Quote:
DFSRRC00 is the utility to run a COBOL-IMS pgm or COBOL-IMS-DB2 pgm. it is only the utility DFSRRC00 that we invoke and we pass the information of the pgm to be run, PSB to be used and mode of execution of the pgm we want to run. so it is this utility which is running our pgm and our pgm is not run directly.


As for specific parameter values for your job, please look in the IMS manual available via this site. You might also look in the IMS forum and see if something that will help is there.
Back to top
View user's profile Send private message
stonegirl

New User


Joined: 23 Feb 2007
Posts: 5
Location: indian

PostPosted: Mon Feb 26, 2007 10:44 am    Post subject:
Reply with quote

Hi d.sch,

Thank u for yr help. Have a nice day.

Thanks and regards,
Shi Lei.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Feb 26, 2007 8:44 pm    Post subject:
Reply with quote

You're welcome icon_smile.gif
Back to top
View user's profile Send private message
stonegirl

New User


Joined: 23 Feb 2007
Posts: 5
Location: indian

PostPosted: Mon Mar 05, 2007 11:21 am    Post subject: How to edit the JCL for the IMS DC COBOL program?no resolved
Reply with quote

Hi all,

I still have no idea how to edit the JCL for the IMS/DC program. And I am so confused about the parameter for the DFSRRC00.
My cobol program name is READIMSQ. And the IMS PSB and DBD are IMS810.PGMLIB,IMS810.SDFSRESL. Is it enough for the JCL? What is the format for the JCL?
Is there any help for this?

Thanks and regards,
Shi Lei.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Mar 05, 2007 12:29 pm    Post subject:
Reply with quote

IMS DC - This is an online interactive environment and you dont need batch jobs to execute online programs.

First could you tell what category is your IMS program?
DLI or BMP or MPP

You need JCL for DLI or BMP programs.

IMS Batch - DLI or BMP
IMS DC - BMP or MPP
Back to top
View user's profile Send private message
stonegirl

New User


Joined: 23 Feb 2007
Posts: 5
Location: indian

PostPosted: Mon Mar 05, 2007 1:38 pm    Post subject: Re: How to edit the JCL for the IMS DC COBOL program?
Reply with quote

Hi,

Thank you for yr reply.
And my program is IMS/DC BMP.

Thanks and regards,
Shi Lei.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Mar 05, 2007 1:47 pm    Post subject:
Reply with quote

Here is a sample BMP jcl.
Code:

//STEP0010 EXEC PGM=DFSRRC00,                       
//         PARM='BMP,PROGNAME,PSBNAME'                 
//*                                                 
//DFSRESLB DD DISP=SHR,DSN=IMS.RESLIB             
//*                                                 
//IMS      DD DISP=SHR,DSN=IMS.DBDLIB             
//         DD DISP=SHR,DSN=IMS.PSBLIB             
//*                                                 
//IEFRDER  DD DUMMY                                 
//*                                                 
//DFSVSAMP DD DISP=SHR,DSN=IMS.PROCLIB(DFSVSAMP) 


Please change it accordingly for your program name, psb name and also give correct PSB lib, DBD lib etc.
Since it's BMP program you may have to code all your DBD DD names, GSAM files if any.
Back to top
View user's profile Send private message
stonegirl

New User


Joined: 23 Feb 2007
Posts: 5
Location: indian

PostPosted: Mon Mar 05, 2007 3:05 pm    Post subject: Re: How to edit the JCL for the IMS DC COBOL program?
Reply with quote

Hi,

another doubts.
//DFSVSAMP DD DISP=SHR,DSN=IMS.PROCLIB(DFSVSAMP)
What is it for?
And if the program is DL/I, just change it to PARM='DL/I,PROGNAME,PSBNAME' . is it right?

Thanks and regards,
Shi Lei.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Mar 09, 2007 11:20 am    Post subject:
Reply with quote

//DFSVSAMP DD DISP=SHR,DSN=IMS.PROCLIB(DFSVSAMP)

We use this in our site, and it has the environment settings for IMS like buffer size etc. This really depends at your work site.

To answer your 2nd questions,
yes if you want to use DLI change BMP to DLI in the parm.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us