IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IMS Command Execution using JCL/Batch


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Murari Chakrakodi

New User


Joined: 26 Sep 2007
Posts: 13
Location: Bangalore,India

PostPosted: Wed Sep 26, 2007 6:24 pm
Reply with quote

Can anybody provide me the sample JCL through which we can execute IMS commands like /DIS TRAN XXXX etc

Many Thanks,
Murari
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Sep 26, 2007 6:50 pm
Reply with quote

I used DLITEST (DFSDDLT0) but not for /DIS commands. How do you think to run a batch JCL-job in an online region?
Back to top
View user's profile Send private message
Murari Chakrakodi

New User


Joined: 26 Sep 2007
Posts: 13
Location: Bangalore,India

PostPosted: Wed Sep 26, 2007 6:57 pm
Reply with quote

I this can be done by running an BMP job.I refered IBM IMS Command Control Facility for zOS --Batch processing.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Sep 26, 2007 8:22 pm
Reply with quote

This has to be installed. I assume you are referring to this item?
Back to top
View user's profile Send private message
Murari Chakrakodi

New User


Joined: 26 Sep 2007
Posts: 13
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 9:24 am
Reply with quote

Hi Bitneuker,

I got a JCL for executing IMS command from IBM site.But when I execute this JCL getting U4069

The error:

Code:

I //CCFOPTS: PRESCAN=YES           
W   ABOVE OPTION UNKNOWN           
I //CCFOPTS: NOFEOV=YES           
W   ABOVE OPTION UNKNOWN           
CARDIN   DD STATEMENT MISSING     
E - ERROR OPENING DD NAME CARDIN   
CCFCMD00+0E28: U4069!             



The JCL:

Code:

//CCFBMP JOB (TECH),CCFBMP,CLASS=A,MSGCLASS=H,
// REGION=4M,NOTIFY=&SYSUID,COND=(0,NE)
//*
//* THIS SAMPLE JCL WILL EXECUTE THE CCF/IMS COMMAND PROCESSOR
//* AS AN IMS BMP JOB.
//*
//* THE FOLLOWING CHARACTER STRINGS MUST BE TAILORED:
//* ##CCFLOAD - DEFINES THE DSN OF THE LOAD LIBRARY INTO WHICH
//* CCF WAS INSTALLED (SCCFLOAD).
//* ##SDFSRESL - MUST BE THE NAME OF YOUR IMS SDFSRESL.
//* ##IMSID - MUST BE THE NAME OF THE IMS WHERE THE BMP WILL
//* ATTACH.
//* ##PSB - CAN BE ANY APPLCTN DEFINED IN THE IMS SYSGEN
//* WITH THE GPSB= PARAMETER.
//*
//STEP01 EXEC PGM=DFSRRC00,
// PARM=’BMP,CCFCMD00,##PSB,,,,,,,,,,,##IMSID’
//STEPLIB DD DISP=SHR,DSN=##CCFLOAD
// DD DISP=SHR,DSN=##SDFSRESL
//SYSABEND DD SYSOUT=*
//CCFLIST DD SYSOUT=*
//CCFOPTS DD *
PRESCAN=YES NOFEOV=YES SETRC=16
//*
//CCFSYSIN DD *
/STA DB DI21PART ACCESS UP
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Sep 27, 2007 2:29 pm
Reply with quote

Read the comment in the JCL and tailor the ##-fields.
Back to top
View user's profile Send private message
Murari Chakrakodi

New User


Joined: 26 Sep 2007
Posts: 13
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 8:01 pm
Reply with quote

Hi Bitneuker,

This is the samle JCL only.I tailored all ## fields.Once I did with that only ran the job.At that time it was giving the error.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Sep 27, 2007 10:54 pm
Reply with quote

Code:
CARDIN   DD STATEMENT MISSING     
E - ERROR OPENING DD NAME CARDIN   
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Oct 03, 2007 9:59 pm
Reply with quote

WHY would anyone want to do this?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Oct 04, 2007 2:47 am
Reply with quote

Beats me........no answer anyway so we should stop to wory outselves.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue May 13, 2008 3:14 am
Reply with quote

Here is sample JCL to issue IMS operator commands with the batch SPOC. It is new in IMS V10:

Code:

//BATCSPOC JOB ,                                               
//   MSGCLASS=H,NOTIFY=USR1,USER=USR1
//* BATCH SPOC JCL FOLLOWS                                     
//SPOC     EXEC PGM=CSLUSPOC,PARM=('IMSPLEX=PLEX1') 
//STEPLIB   DD DISP=SHR,DSN=IMS.SDFSRESL           
//SYSPRINT  DD SYSOUT=*,                                       
//   DCB=(RECFM=FB,LRECL=121,BLKSIZE=2420,DSORG=PS)             
//SYSIN     DD *                                               
 QRY TRAN NAME(A*,B*,C*) SHOW(ALL)   
 QRY DB   NAME(A*)                     
//*                                                             
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top