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
 
record format problem in VSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: record format problem in VSAM file
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: 6968
Location: porcelain throne

PostPosted: Fri Sep 04, 2009 3:33 pm    Post subject:
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    Post subject:
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    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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

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