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
 

 

what is the significance of REPLACE=NO in exec statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: what is the significance of REPLACE=NO in exec statement
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Feb 07, 2013 1:16 pm    Post subject: Reply to: what is the significance of REPLACE=NO in exec sta
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
http://catb.org/~esr/faqs/smart-questions.html
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu Feb 07, 2013 1:22 pm    Post subject: Reply to: what is the significance of REPLACE=NO in exec sta
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

Senior Member


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

PostPosted: Fri Feb 08, 2013 10:34 am    Post subject:
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: 41
Location: Amsterdam

PostPosted: Thu Jul 11, 2013 5:37 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Jul 15, 2013 8:09 pm    Post subject:
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    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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm


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