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
 

 

IMS Command Execution using JCL/Batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: IMS Command Execution using JCL/Batch
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Sep 26, 2007 6:50 pm    Post subject:
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    Post subject: Reply to: IMS Command Execution using JCL/Batch
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Sep 26, 2007 8:22 pm    Post subject:
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    Post subject: Reply to: IMS Command Execution using JCL/Batch
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Sep 27, 2007 2:29 pm    Post subject:
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    Post subject: Reply to: IMS Command Execution using JCL/Batch
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Sep 27, 2007 10:54 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Oct 04, 2007 2:47 am    Post subject:
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

Senior Member


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

PostPosted: Tue May 13, 2008 3:14 am    Post subject: Reply to: IMS Command Execution using JCL/Batch
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    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
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


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