How creating diffrent records?



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

How creating diffrent records?

Postby Mehdi shri » Sat Sep 29, 2012 5:28 pm

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?
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: How creating diffrent records?

Postby Akatsukami » Sat Sep 29, 2012 6:10 pm

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.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: How creating diffrent records?

Postby Robert Sample » Sat Sep 29, 2012 6:33 pm

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.

These users thanked the author Robert Sample for the post:
Mehdi shri (Sat Sep 29, 2012 6:36 pm)
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: How creating diffrent records?

Postby BillyBoyo » Sat Sep 29, 2012 6:37 pm

Also, depending on "algorithm", you could probably use your sort product.

These users thanked the author BillyBoyo for the post:
Mehdi shri (Sun Sep 30, 2012 10:09 am)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: How creating diffrent records?

Postby Mehdi shri » Sun Sep 30, 2012 10:11 am

I findout this by IEBDG.
Thankyou Akatsukami.
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post