Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to Populate records into a rrds file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to Populate records into a rrds file?
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

Moderator Team Head


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

PostPosted: Wed May 07, 2008 4:51 pm    Post subject: Reply to: How to Populate records into a rrds file?
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    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Wed May 07, 2008 5:51 pm    Post subject:
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    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Wed May 07, 2008 6:11 pm    Post subject:
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    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Wed May 07, 2008 7:15 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us