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
 

 

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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts Problem commiting to DB2 from IMS MPP Ole Soerensen IMS DB/DC 2 Wed Jul 26, 2017 5:19 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am


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