Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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 -> SMS & VSAM
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
References
PostPosted: Wed May 07, 2008 3:54 pm    Post subject: Re: How to Populate records into a rrds file? Reply with quote

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: 3042
Location: Charlotte,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

Senior Member


Joined: 20 Oct 2006
Posts: 1274
Location: germany

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

Senior Member


Joined: 20 Oct 2006
Posts: 1274
Location: germany

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

Senior Member


Joined: 20 Oct 2006
Posts: 1274
Location: germany

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1