View previous topic :: View next topic
|
Author |
Message |
RamsIBM
New User
Joined: 08 Jan 2007 Posts: 53 Location: Chennai
|
|
|
|
Hi,
Can anyone give me JCLS for Search (i.e 3.14) & Batch SPUFI submition |
|
Back to top |
|
|
jz1b0c
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
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 |
|
|
unicorn
New User
Joined: 29 May 2006 Posts: 3
|
|
|
|
//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 |
|
|
asridhar
New User
Joined: 04 May 2005 Posts: 5 Location: Hyderabad
|
|
|
|
can you please tell me diffrence between SYSOUT=A and SYSOUT=* |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
midhun
New User
Joined: 23 Jul 2006 Posts: 3
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You need to add STEPLIB with DSNTEP2's load module. Usually, it will be in prefix.SDSNLOAD or prefix.SDSNEXIT.
O. |
|
Back to top |
|
|
|