Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> 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: 4648
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: 6967
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: 6967
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: 6967
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us