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

record format problem in VSAM file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Fri Sep 04, 2009 3:26 pm
Reply with quote

Hi all,


i try to insert a record in a VSAM file. Its working, but some dotted(.) items appeared at filler places in output. output is follows:


Code:

 RBA         Len    <===+====>----+----2----+----3----+----4----+----5----+----
 ****  Top of data  ****                                                       
 0            80    02-09-2009..NW..0050000..0000001..0000002..0000003..........
 ****  End of data  ****                                                       



can anyone tell me how to eliminate that dots and store record into file.

For your reference, i have inserted variable declaration also:

Code:

    05 W01-INP-DATE.                                   
       10 W01-DD                  PIC  9(2).           
       10 FILLER                  PIC  X(01) VALUE '-'.
       10 W01-MM                  PIC  9(2).           
       10 FILLER                  PIC  X(01) VALUE '-'.
       10 W01-YY                  PIC  9(4).           
    05 FILLER                     PIC X(02).           
    05 W01-PL-TYPE                PIC X(2).           
    05 FILLER                     PIC X(02).           
    05 W01-PL-SUM                 PIC 9(07).           
    05 FILLER                     PIC X(02).           
    05 W01-PL-PREMIUM             PIC  9(07).         
    05 FILLER                     PIC X(02).           
    05 W01-PL-AMTREFUND           PIC  9(07).         
    05 FILLER                     PIC X(02).           
    05 W01-PL-AMT                 PIC  9(07).         
    05 FILLER                     PIC X(30).           
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Sep 04, 2009 3:33 pm
Reply with quote

FILLER PIC X(?) VALUE SPACES.
Back to top
View user's profile Send private message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Fri Sep 04, 2009 3:49 pm
Reply with quote

thanks dino... its working...
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
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
Search our Forums:

Back to Top