Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2086
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 Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us