IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Populate records into a rrds file?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arun sarma

New User


Joined: 21 Feb 2008
Posts: 6
Location: bangalore

PostPosted: Wed May 07, 2008 3:54 pm
Reply with quote

I'm looking to insert data into a RRDS file.

Krishnan
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed May 07, 2008 4:51 pm
Reply with quote

SORT/IDCAMS REPRO/File-AID, whichever one is appropriate for your site's standards.
Back to top
View user's profile Send private message
arun sarma

New User


Joined: 21 Feb 2008
Posts: 6
Location: bangalore

PostPosted: Wed May 07, 2008 5:29 pm
Reply with quote

When I am using REPRO, its giving an error as

'Length Invalid'

icon_sad.gif
can u pls temme how to sort that out ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 07, 2008 5:51 pm
Reply with quote

SORT FIELDS=(1,6,CH,A)
Back to top
View user's profile Send private message
arun sarma

New User


Joined: 21 Feb 2008
Posts: 6
Location: bangalore

PostPosted: Wed May 07, 2008 6:00 pm
Reply with quote

pls pardon.

i din get that part.
can u pls paste the code?

thanks
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 07, 2008 6:11 pm
Reply with quote

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
View user's profile Send private message
arun sarma

New User


Joined: 21 Feb 2008
Posts: 6
Location: bangalore

PostPosted: Wed May 07, 2008 7:04 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 07, 2008 7:15 pm
Reply with quote

I really hate to sound dumb here, but what will populate the other 920 bytes of your record?
Back to top
View user's profile Send private message
arun sarma

New User


Joined: 21 Feb 2008
Posts: 6
Location: bangalore

PostPosted: Thu May 08, 2008 11:45 am
Reply with quote

tx Dick
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top