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: 4649
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 Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm


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