Page 1 of 1

How creating diffrent records?

PostPosted: Sat Sep 29, 2012 5:28 pm
by Mehdi shri
Dear friends
I want to create a 100000 records in a QSAM file so that records fields (from col 10 to col 15) increamented automically.
This increamentation can be one by one or based on specific Algorithm or Pattern. What I must do? How I can implement this pattern in ISPF command line? Because my program needs to process 100000 of records whit defrent value on coloumn 10 to 15. Is there any commands on the ISPF to do this?

Re: How creating diffrent records?

PostPosted: Sat Sep 29, 2012 6:10 pm
by Akatsukami
Mehdi shri wrote:Dear friends
I want to create a 100000 records in a QSAM file so that records fields (from col 10 to col 15) increamented automically.
This increamentation can be one by one or based on specific Algorithm or Pattern. What I must do? How I can implement this pattern in ISPF command line? Because my program needs to process 100000 of records whit defrent value on coloumn 10 to 15. Is there any commands on the ISPF to do this?

Read about IEBDG.

Re: How creating diffrent records?

PostPosted: Sat Sep 29, 2012 6:33 pm
by Robert Sample
ISPF does not have any commands to do this. You could use IEBDG, or a programming language, or something like SAS to create the file.

Re: How creating diffrent records?

PostPosted: Sat Sep 29, 2012 6:37 pm
by BillyBoyo
Also, depending on "algorithm", you could probably use your sort product.

Re: How creating diffrent records?

PostPosted: Sun Sep 30, 2012 10:11 am
by Mehdi shri
I findout this by IEBDG.
Thankyou Akatsukami.