MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

40 in HEX format

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Wed Sep 05, 2007 3:59 am    Post subject: 40 in HEX format Reply with quote

Hi,

I have a file of mode VB. I'm giving first two lines of data in the file for eg.
[code:1:2b4805cec8]
------------------------------------------------------------------------------
...........................0726
000000000000000000000000000FFFF
0000000000000000000000000000726
------------------------------------------------------------------------------
0000000300008378952007518..
Back to top
View user's profile Send private message Send e-mail
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Wed Sep 05, 2007 4:39 am    Post subject: Reply with quote

The X'40' is blank padding, perhaps the records are being written out as fixed instead of variable...
Please post the code relating to your output - if COBOL, the SELECT and the entire FD...
Back to top
View user's profile Send private message
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Wed Sep 05, 2007 4:46 am    Post subject: Reply with quote

Hi,

The program is written in Telon. I checked it its written using VB. please find the code.
DATASET NAME=MDZCO01,ACCESS=SEQUENTIAL,OPEN=OUTPUT,
LRECL=(00031,01107)
MDZCO01 RECORD @DEFINE,COPY=NONE,COPYLV1=N
CREATE MDZCO01
BATCHPGM
END
Thanks
nadh.
Back to top
View user's profile Send private message Send e-mail
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Wed Sep 05, 2007 5:03 am    Post subject: Reply with quote

Sorry, I don't speak Telon....
If the file is actually variable, then the length specified during the write is incorrect......
Back to top
View user's profile Send private message
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Wed Sep 05, 2007 5:27 am    Post subject: Reply with quote

Hi,

The output is correct, only problem is padded with x'40' at the end.

Thanks
Nadh
Back to top
View user's profile Send private message Send e-mail
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Wed Sep 05, 2007 6:14 am    Post subject: Reply with quote

nadh wrote:
The output is correct, only problem is padded with x'40' at the end.
The output is not correct, what is the format of the output file VB or FB?
What's the matter, get tired of talking with me? I'll avoid the other thread if you wish.... Rolling Eyes
Back to top
View user's profile Send private message
CraigG
Intermediate


Joined: 02 May 2007
Posts: 202
Topics: 0
Location: Viginia, USA

PostPosted: Wed Sep 05, 2007 6:46 am    Post subject: Reply with quote

nadh wrote:
Hi,

The output is correct, only problem is padded with x'40' at the end.

Thanks
Nadh


If the output is supposed to be variable length then it is not correct. If the output is fixed length then what would you want it padded with?
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Wed Sep 05, 2007 12:25 pm    Post subject: Reply with quote

If the record truly is VB, then there is a little DFSORT trick that will print off the record length from the RDW.

I've mislaid my copy otherwise I would have posted it here Confused
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Sep 08, 2007 2:48 am    Post subject: Reply with quote

use browse instead of edit or view to look at the data and if the data is really vb, the spaces will not be shown.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group