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: 6968
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: 6968
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: 6968
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm

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