Kolusu, I would like one little tweak, if you please - is it possible to
get the timestamp fresh on each record, instead of using the same timestamp
value for all of them?

Billy

On Wed, Mar 27, 2019 at 6:29 PM Sri h Kolusu <[email protected]> wrote:

> Hi everyone! I am trying to generate a large test file for an internal
> > project, and I wanted to know if anyone has done this with SORT.
>
>
> Bill,
>
> It is quite easy to generate your test data.   I generated 1 million
> records with an LRECL of 100 bytes
>
> TCB:       00:00:00.922436
> ELAPSED:   00:00:09.43
>
>
> //STEP0100 EXEC PGM=SORT
> //SYSOUT   DD SYSOUT=*
> //SORTIN   DD *
> ABC
> //SORTOUT  DD SYSOUT=*
> //SYSIN    DD *
>   OPTION COPY
>   INREC BUILD=(DATE5)
>
>   OUTFIL REPEAT=1000000,
>   BUILD=(SEQNUM,9,ZD,START=100000001,INCR=8,    $ SEQ INCREMENT BY 8
>          12,15,UFF,M11,LENGTH=12,               $ HHMMSSMILLLL
>          SEQNUM,4,PD,START=31,INCR=14,          $ PACKED INCR BY 14
>          C'STATIC TEXT - 01',                   $ STATIC TEXT
>          SEQNUM,16,PD,START=23003,INCR=2,       $ PACKED INCR BY 2
>          C'STATIC TEXT - 02',                   $ STATIC TEXT
>          SEQNUM,10,PD,START=0,                  $ PACKED INCR BY 1
>          C'END OF THE GEN',                     $ STATIC TEXT
>          100:X)                                 $ LRECL=100
> //*
>
>
> Further if you have any questions please let me know
>
> Thanks,
> Kolusu
> DFSORT Development
> IBM Corporation
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>


-- 
Thank you and best regards,
*Billy Ashton*

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to