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
 

 

Compare table with one system to other system

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

New User


Joined: 30 Dec 2003
Posts: 19

PostPosted: Wed May 12, 2010 4:11 pm    Post subject: Compare table with one system to other system
Reply with quote

Hi

I need a jcl for the below purpose.

1) I have sequential file which contain the table names.
2) I have to compare these table with one system to other system as per my requirement and I need to verify whether the two tables are in sync.
3) Some times my sequential file contain more than 50 tables.

Please let me know is this possible through the jcl? that to using the PARM?

Subba
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed May 12, 2010 4:45 pm    Post subject:
Reply with quote

/RANT ON
Once more let us clarify exactly what JCL is.

it is Job Control Language.

By itself it does nothing. It is used to invoke the chosen program and to define which datasets are to be used by the DD names associated with the chosen program.

JCL does not have magical powers that solve all problems, JCL is merely the vehicule for telling the processor which program you want it to execute.
/RANT OFF

So, if you might just care to tell us which program you wish the JCL to execute, we might be able to help you
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Wed May 12, 2010 5:16 pm    Post subject:
Reply with quote

And once you've decided which utility (or program) will do this, are you aware that PARM is limited to 100 bytes?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed May 12, 2010 10:12 pm    Post subject: Re: Reg PARM
Reply with quote

srvmani wrote:
1) I have sequential file which contain the table names.
2) I have to compare these table with one system to other system as per my requirement and I need to verify whether the two tables are in sync.
Table-names from other system are also in some file? Then what is next? How do you conclude "they are in sync"? icon_confused.gif
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Thu May 13, 2010 3:53 am    Post subject:
Reply with quote

srvmani wrote:
that to using the PARM?
It depends which program is being executed in the JCL.

1. Do you mean DB2 tables ?
2. Can you access both systems simultaneously ?
3. Table names are the same, only system name is different?
Answering these questions will help us in designating the program(s) to use,
but you will certainly need a tool to repeat the process for each table in the sequential file.

expat wrote:
/RANT ON
Once more let us clarify exactly what JCL is.

it is Job Control Language.

By itself it does nothing. It is used to invoke the chosen program and to define which datasets are to be used by the DD names associated with the chosen program.

JCL does not have magical powers that solve all problems, JCL is merely the vehicule for telling the processor which program you want it to execute.
/RANT OFF

Site Statistics wrote:
We have 85142 registered members
One more down, only 84967 left!
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu May 13, 2010 5:29 pm    Post subject:
Reply with quote

Marso wrote:
Site Statistics wrote:
We have 85142 registered members
One more down, only 84967 left!
Just 1 !!?? There is a difference of 175 between those two numbers! mmm...
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: Fri May 14, 2010 4:56 am    Post subject: Reply to: Compare table with one system to other system
Reply with quote

The population is increasing. . .
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 Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm


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