View previous topic :: View next topic
|
Author |
Message |
kishpra
New User
Joined: 24 May 2010 Posts: 92 Location: Pune
|
|
|
|
HI,
I have a sequential file with LRECL=15 and with no records.
I want this file to have records as below till 100000.
000000000000001
000000000000002
000000000000003
000000000000004
000000000000005
000000000000006
000000000000007
000000000000008
000000000000009
Kindly advise.
Thank you. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
IEBDG. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
You have a number of options:
- as mentioned, IEBDG does it easily (in 4 control statements)
- if your site has SAS, or Easytrieve, you can use one of them
- you could always write a quick program in the language of your choice |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Besides the options already suggested by Robert and Akatsukami, if you have any of the sort products installed, you could make use of the OUTFIL REPEAT with a SEQNUM (you might need a single-dummy-record input)
Something like this:
Code: |
//SORTIN DD *
DUMMY-REC
//SYSIN DD *
OPTION COPY
OUTFIL REPEAT=100000,BUILD=(9C'0',SEQNUM,6,ZD) |
But I am not sure if this is what you are looking for, after seeing the topic title! |
|
Back to top |
|
|
|