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: 6967
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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