If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DSN1COPY(using REXX)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-09, 07:29
rashmidevendra rashmidevendra is offline
Registered User
 
Join Date: Jun 2009
Posts: 2
DSN1COPY(using REXX)

Hi,
I have to write an application, The idea of the application is to generate DSN1COPY OBIDXLAT parameters. For every object in a subsystem i need to read the catalog and generate a set of parms and the current internal identifiers should be formatted into control cards, so that all i need to do is add the new identifiers and insert these control cards into a DSN1COPY job. The control cards should be strung down the dataset, one object after another. The data should be stored on DASD in a GDG. I want to keep 25 generations. I need to use REXX to create this application.
Can anyone help me in this please. I dont know REXX.
Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 06-25-09, 04:47
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
Quote:
Originally Posted by rashmidevendra
Hi,
I have to write an application, The idea of the application is to generate DSN1COPY OBIDXLAT parameters. [...] I don't know REXX.
The IDUG website has a collection of this kind of REXX programs and other code; there might even be a REXX program that does almost what you want.
Have alook at http://www.idug.org/the-code-place.html (You'll have to register first.)
The following one comes close, I believe: http://www.idug.org/the-code-place/1...ate-event.html
Or otherwise http://www.idug.org/the-code-place/1...esize-ts-.html

Please post back here (or to the IDUG Code Place) when you have your REXX running!
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/

Last edited by Peter.Vanroose; 06-25-09 at 05:19.
Reply With Quote
  #3 (permalink)  
Old 07-22-09, 07:14
rashmidevendra rashmidevendra is offline
Registered User
 
Join Date: Jun 2009
Posts: 2
DSN1COPY(using REXX)

I have written a rexx program which i will invoke through jcl, but i am getting
the below error:

IKJ56641I DSNREXX ENDED DUE TO ERROR+
IKJ56641I SYSTEM ABEND CODE 0C4 REASON CODE 00000010

I am not sure why i am getting this error, other than this i am not getting any other information regarding this error.

Can anyone please help me.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On