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
 
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
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm

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