View previous topic :: View next topic |
Author |
Message |
nagesh Beginner
Joined: 25 Apr 2007 Posts: 3 Topics: 2
|
Posted: Thu May 10, 2007 12:18 am Post subject: Replicating data and incrementing a field |
|
|
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 |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu May 10, 2007 1:41 am Post subject: |
|
|
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 |
|
|
nagesh Beginner
Joined: 25 Apr 2007 Posts: 3 Topics: 2
|
Posted: Thu May 10, 2007 2:07 am Post subject: |
|
|
Could u be precise and let me know what JCL i need to use |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu May 10, 2007 4:29 am Post subject: |
|
|
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 |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu May 10, 2007 5:18 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Thu May 10, 2007 5:28 am Post subject: |
|
|
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
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|