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
 

 

How to avoid an extra byte in output file(easytrieve)??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Fri Mar 11, 2005 5:55 pm    Post subject: How to avoid an extra byte in output file(easytrieve)??
Reply with quote

Hi all Experts,
I'm new to Easytrieve, while generating a report using EZTP it takes an extra byte for the output. This extra byte may be used to hold the Carriage controle character(I think so). Can anybody tell me how to skip it while creating the report, so that the logical record length remains same as the input file.

Thank you all in advance,
Girish icon_idea.gif
Back to top
View user's profile Send private message

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Sat Mar 12, 2005 11:31 am    Post subject:
Reply with quote

Girishm,

Please support your queries with some code sample. This would help in solving the problem faster.

Regards
Mayuresh
Back to top
View user's profile Send private message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Sat Mar 12, 2005 3:19 pm    Post subject: Re: How to avoid an extra byte in output file(easytrieve)??
Reply with quote

Mayur,

What I mean to say was about the very first character that will be inserted by the UTILITY (EZTP) in the output. It is a carriage control value. Please find the attachment in which the blocked part (1, - & 0) is the extra byte added to the output (report). For example my input file is of length 100 bytes, output will be 101 bytes. So how to avoid this extra byte in the output. I want my output file size same as that of my input file (100 bytes)

Hope i explained the problem indetail, waiting for your suggestion
Girish
Back to top
View user's profile Send private message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Tue Mar 29, 2005 6:33 pm    Post subject: Re: How to avoid an extra byte in output file(easytrieve)??
Reply with quote

Hi all,
Please suggest me, how to aviod the extra character (ANSI carriage character) on the output report. I referred all vailable Easytrieve material, but of no use.Anybody has solution for this?

PS: Please refer attachment for screen shot in the above post.
______________
GM
Back to top
View user's profile Send private message
phil rook

New User


Joined: 25 Nov 2005
Posts: 12
Location: amsterdam

PostPosted: Sun Nov 27, 2005 10:42 pm    Post subject:
Reply with quote

try using FBA as appropriate on your output satement.
i.e

dcb=(recfm=fba, lrecl=101, blksiize=10100)
Back to top
View user's profile Send private message
phil rook

New User


Joined: 25 Nov 2005
Posts: 12
Location: amsterdam

PostPosted: Sun Nov 27, 2005 11:08 pm    Post subject:
Reply with quote

Oh , I think I now understand - you are not printing it but writing to an output file.
Then read the file into another easytrieve and copy positions 2 to 101 to your output file.
with output dataset length of 100 must be specified also in the easytrieve I think
something like

edit 90 output 100
filea inrec 2 100 a outrec 1 100 a
9999
if 1 = 1
outrec = inrec

I haven't done Easytrieve for 20 years. so the logic is there but not sure about the syntax.
edit 90 output 100 should make a block with 90 records of 100 in length.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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