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: 10202
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: 7225

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 -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm


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