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
 

 

JCLS for Search (i.e 3.14) & Batch SPUFI submition

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
RamsIBM

New User


Joined: 08 Jan 2007
Posts: 53
Location: Chennai

PostPosted: Fri Jan 19, 2007 5:59 pm    Post subject: JCLS for Search (i.e 3.14) & Batch SPUFI submition
Reply with quote

Hi,

Can anyone give me JCLS for Search (i.e 3.14) & Batch SPUFI submition
Back to top
View user's profile Send private message

jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Sat Jan 20, 2007 2:22 am    Post subject:
Reply with quote

search JCL
==


//SRCHJCL1 JOB (?????????????),'SRCH JOB',
// CLASS=A,MSGCLASS=T,NOTIFY=&SYSUID
//SEARCH EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC')
//NEWDD DD DSN=USERID.SEARCH.LIBRARY,
// DISP=SHR
//OUTDD DD SYSOUT=(A)
//SYSIN DD *
SRCHFOR 'SRCH SRTING'
/*
Back to top
View user's profile Send private message
unicorn

New User


Joined: 29 May 2006
Posts: 3

PostPosted: Sat Jan 20, 2007 6:03 am    Post subject: Re: Search & Batch SPFUi - JCL
Reply with quote

//BATSPUFI JOB 123456,CLASS=J,
// MSGCLASS=A,NOTIFY=&SYSUID,TIME=1439,REGION=0M
//*********************************************
//* BATCH SPUFI JOB
//*********************************************
//PS0010 EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSIN DD *
SELECT * FROM EMP_TABLE;
/*
//SYSPRINT DD DSN=USERID.SPUFI.OUTPUT,
// DISP=(NEW,CATLG,DELETE),
// UNIT=DISK,
// SPACE=(CYL,(5,5),RLSE),
// RECFM=FB,LRECL=400,BLKSIZE=0
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(DSN3)
RUN PROGRAM(DSNTEP2) PLAN(DSNTEP2)
//*

The DSN3 mentioned is your DB2 subsystem. DSNTEP2 is an IBM utility.

--------
Prabhu
Back to top
View user's profile Send private message
asridhar

New User


Joined: 04 May 2005
Posts: 5
Location: Hyderabad

PostPosted: Mon Jan 22, 2007 7:48 pm    Post subject:
Reply with quote

can you please tell me diffrence between SYSOUT=A and SYSOUT=*
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Mon Jan 22, 2007 8:03 pm    Post subject: Re: JCLS for Search (i.e 3.14) & Batch SPUFI submition
Reply with quote

SYSOUT=A routes the output to output class A.

SYSOUT=* routes the output to the default output class specified in the MSGCLASS= statement in the JOB definition, or, the default as defined by the system-wide default class.
Back to top
View user's profile Send private message
midhun

New User


Joined: 23 Jul 2006
Posts: 3

PostPosted: Thu Jan 25, 2007 7:38 pm    Post subject: Re: JCLS for Search (i.e 3.14) & Batch SPUFI submition
Reply with quote

The JCL is hsowing an error for DSNTEP2. Saying DSNTEP2 is not found..Do we need to do any modifications for the JCL
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Jan 26, 2007 12:55 am    Post subject:
Reply with quote

You need to add STEPLIB with DSNTEP2's load module. Usually, it will be in prefix.SDSNLOAD or prefix.SDSNEXIT.

O.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm


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