View previous topic :: View next topic
|
Author |
Message |
Hariharan Sukumar
New User
Joined: 14 Mar 2011 Posts: 14 Location: India
|
|
|
|
Hi,
I'm working with vsam in cobol. let me brief my doubt.
I'm having a KSDS cluster which is having records in the following format
01 ksdsrec.
02 eno pic x(4).
02 f pic x(2).
02 ename pic x(15).
02 f pic x(2).
02 esal pic 9(5)v99.
02 f pic x(50).
while i'm trying to rewrite a record using cobol pgm, the fields are getting updated. But while issuing print ch ids(/) the record is having dots(.) in place of filler.
E006..HARIHARAN.S ..2500000..............................................
What i need to do to avoid the dots or need to move spaces in place of DOTS. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Move spaces to the fillers |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
A dot in a printout usually means a non-printing character. Depending upon your LE run-time options, it is quite possible that LOW-VALUES (X'00') are being used for your FILLER. Move SPACES (X'40') to your 01 before populating the variables and writing the record, as Nic said. |
|
Back to top |
|
|
Hariharan Sukumar
New User
Joined: 14 Mar 2011 Posts: 14 Location: India
|
|
|
|
Thanks,
It had worked......! |
|
Back to top |
|
|
|