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
 

 

A question about report

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

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Wed Aug 16, 2006 10:30 am    Post subject: A question about report
Reply with quote

If the file length is 133 then the write statement will add a control field in the first position, is that right?
Is there any other different length will take some special action?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 16, 2006 11:36 pm    Post subject: Re: A question about report
Reply with quote

william51 wrote:
If the file length is 133 then the write statement will add a control field in the first position, is that right?

No, it isn't.

william51 wrote:
Is there any other different length will take some special action?

No, there isn't.
Back to top
View user's profile Send private message
william51
Warnings : 1

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Thu Aug 17, 2006 9:12 am    Post subject:
Reply with quote

So,where does the first byte come from in the report file which length is 133?
The report only contain 132 bytes.
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu Aug 17, 2006 12:48 pm    Post subject:
Reply with quote

Hi,

Can you check if your JCL is having RECFM=FBA. Here, the "A" in "FBA" is the attribute byte.

Note that if you brose the file (using line command 'b' in DSLIST/3.4) you will see that its just 132 bytes. But if you use view command (v) in DSLIST , you will actually see the first byte as an ANSI carriage control character.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Aug 17, 2006 1:27 pm    Post subject:
Reply with quote

You can read more about Control Characters in the fine manual.

O.
Back to top
View user's profile Send private message
william51
Warnings : 1

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Fri Aug 18, 2006 10:28 am    Post subject: Re: A question about report
Reply with quote

Thanks,I think it is the 'A' for attribute cause this situation.
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 Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts Daily report to be extracted from CA ... polymathtarun DFSORT/ICETOOL 5 Mon Jul 11, 2016 4:33 pm


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