MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Replicating data and incrementing a field

 
Post new topic   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
nagesh
Beginner


Joined: 25 Apr 2007
Posts: 3
Topics: 2

PostPosted: Thu May 10, 2007 12:18 am    Post subject: Replicating data and incrementing a field Reply with quote

Hi every one,

My requirement is to prepare a test data out of given set of 10 records.
The input file is variable block.

i need to replicate those records and each set of 10 records should contain different account id.

Like say first set of records contains account id as 0010000001

for each set we can increment the account id by 1

totally 1 million records are required.how can we achieve this using a jcl utility.

Regards,
Nagesh
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu May 10, 2007 1:41 am    Post subject: Reply with quote

A JCL utility would modify/generate/check/proof JCL. What you want is the parms for a SORT utility.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
nagesh
Beginner


Joined: 25 Apr 2007
Posts: 3
Topics: 2

PostPosted: Thu May 10, 2007 2:07 am    Post subject: Reply with quote

Could u be precise and let me know what JCL i need to use
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu May 10, 2007 4:29 am    Post subject: Reply with quote

OK, I have my school teacher hat removed.

I would use a programming solution - ezytrieve, rexx, cobol, pl1, only because I have no idea how to do it with sort.

Kolusu, Frank or Alissa will come along and provide a sort solution
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu May 10, 2007 5:18 am    Post subject: Reply with quote

the JCL you need depends on the program you are going to run - please understand the difference between PROGRAM and JCL.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12366
Topics: 75
Location: San Jose

PostPosted: Thu May 10, 2007 5:28 am    Post subject: Reply with quote

Nagesh,

You have been notified earlier via a private message that your IP address is under observation for violating the rules of this board. Another new ID will not solve it.

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group