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
 
While issuing print ch ids(/) the record is having dots(.)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Hariharan Sukumar

New User


Joined: 14 Mar 2011
Posts: 14
Location: India

PostPosted: Mon Mar 14, 2011 6:05 pm    Post subject: While issuing print ch ids(/) the record is having dots(.)
Reply with quote

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
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1894
Location: UK

PostPosted: Mon Mar 14, 2011 6:13 pm    Post subject:
Reply with quote

Move spaces to the fillers
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Mon Mar 14, 2011 6:18 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Hariharan Sukumar

New User


Joined: 14 Mar 2011
Posts: 14
Location: India

PostPosted: Tue Mar 15, 2011 11:21 am    Post subject:
Reply with quote

Thanks,

It had worked......!
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 -> COBOL Programming 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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
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 Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am

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