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: 6966
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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