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

what is the significance of REPLACE=NO in exec statement


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akash kothari

New User


Joined: 07 Feb 2013
Posts: 1
Location: india

PostPosted: Thu Feb 07, 2013 1:10 pm
Reply with quote

Code:
STEP01  EXEC abcd,                 
             DCLS=XL,               
             JN1=job name, (it is load job for table)         
             KEEPDICT=NO,           
             REPLACE=NO,           
             S1=SQ,                 
             SQLID=xx,             
             OVSDB2=DB2,           
             TB='table name' 

i want to knoe what is the significance of
KEEPDICT=NO,
REPLACE=NO,

thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 07, 2013 1:16 pm
Reply with quote

use Your neurons please ...
the abcd procedure was written by somebody inside Your organization ...
or belongs to a <product> used by Your organization

we do not belong to Your organization,
we do not know what products are installed/used in Your organization
we do not have access to You documentation ...

how in &heaven do You expect a reply to this question on a forum ???

icon_evil.gif

ask Your support or Your peers

to make the most out of the question You will ask on public forum
it would be wise for You to read and meditate on

How To Ask Questions The Smart Way
catb.org/~esr/faqs/smart-questions.html
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Feb 07, 2013 1:22 pm
Reply with quote

They are just symbol names and values. In the PROC all references to those symbol name will be replaced with those values.

Read when enrico posted. Look up the JCL reference to understand symbols.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Feb 08, 2013 10:34 am
Reply with quote

Quote:
i want to knoe what is the significance of
KEEPDICT=NO,
REPLACE=NO,
This is interesting to know that why other symbolic did not bother you and only these two... icon_smile.gif
Back to top
View user's profile Send private message
Daniel Prosser

New User


Joined: 05 Nov 2010
Posts: 57
Location: Amsterdam

PostPosted: Thu Jul 11, 2013 5:37 pm
Reply with quote

This looks familiar icon_smile.gif

If you look in the DB2 manual for LOAD and KEEPDICTIONARY you'll find all explained.

But you probably have already worked it out by now.
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Mon Jul 15, 2013 6:49 pm
Reply with quote

akash,

Simply put, you are invoking a PROC or procedure that invokes another set of JCL with EXEC abcd as opposed to
Code:
EXEC PGM=abcd
.

It could be written
Code:
EXEC PROC=abcd
as well.

The thing about PROCs is that they can have references - a few or a boatload. Whatever. Right? So what folks are trying to tell is that each proc is unique and what you must do is "follow the yellow brick road" and try and find out where that proc is located and take a long look at it.

Start from there. Good luck.

r

"...follow, follow, follow the yellow brick road."
--The Wizard of Oz
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 15, 2013 8:09 pm
Reply with quote

Hello,

I believe Daniel is on the right track.

And i believe the his guidance to the DB2 material is what TS is looking for.

fwiw
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
No new posts To replace jobname in a file with ano... SYNCSORT 12
Search our Forums:

Back to Top