View previous topic :: View next topic
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, 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
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
|