|
|
| Author |
Message |
arun sarma
New User
Joined: 21 Feb 2008 Posts: 6 Location: bangalore
|
|
|
|
I'm looking to insert data into a RRDS file.
Krishnan |
|
| Back to top |
|
 |
References
|
Posted: Wed May 07, 2008 3:54 pm Post subject: Re: How to Populate records into a rrds file? |
 |
|
|
 |
Moved: Wed May 07, 2008 4:35 pm by superk From Interview Questions to SMS & VSAM |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3014 Location: Charlotte,NC USA
|
|
|
|
| SORT/IDCAMS REPRO/File-AID, whichever one is appropriate for your site's standards. |
|
| Back to top |
|
 |
arun sarma
New User
Joined: 21 Feb 2008 Posts: 6 Location: bangalore
|
|
|
|
When I am using REPRO, its giving an error as
'Length Invalid'
can u pls temme how to sort that out ? |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1175 Location: germany
|
|
|
|
| SORT FIELDS=(1,6,CH,A) |
|
| Back to top |
|
 |
arun sarma
New User
Joined: 21 Feb 2008 Posts: 6 Location: bangalore
|
|
|
|
pls pardon.
i din get that part.
can u pls paste the code?
thanks |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1175 Location: germany
|
|
|
|
| Quote: |
pls pardon.
i din get that part.
can u pls paste the code?
|
exactly what I said when you wanted an answer to a problem that you have not described. you asked a question without giving any info. How can we help you when we do not have:
1. RRDS file attributes
2. attribute of file being repro'd |
|
| Back to top |
|
 |
arun sarma
New User
Joined: 21 Feb 2008 Posts: 6 Location: bangalore
|
|
|
|
| Code: |
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE R06553.VSAM2.CLAIMIN CLUSTER PURGE
DEFINE CLUSTER(NAME(R06553.VSAM2.CLAIMIN) -
MB(80,60) -
VOLUMES(* * * *) -
FREESPACE(10,10) -
REUSE -
RECORDSIZE(1000,1000) NUMBERED) -
DATA(NAME(R06553.VSAM2.CLAIMIN.DATA)) -
/*
|
above is the RRDS cluster creation code
and the input file is a flat file of length 80
Tx |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1175 Location: germany
|
|
|
|
| I really hate to sound dumb here, but what will populate the other 920 bytes of your record? |
|
| Back to top |
|
 |
arun sarma
New User
Joined: 21 Feb 2008 Posts: 6 Location: bangalore
|
|
|
|
| tx Dick |
|
| Back to top |
|
 |
|
|