IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Identify end of line


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avita

New User


Joined: 03 Dec 2009
Posts: 1
Location: Mumbai

PostPosted: Thu Dec 03, 2009 1:59 pm
Reply with quote

Hi,
I have a file where the header record is of 30bytes.Trailer is of 25bytes.Now when i am sending the file to end system they find 5 spaces in the data record. Since they identify end of line with the absence of spaces they cannot upload the file.

Do you have any suggestions/solutions to this problem?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Dec 03, 2009 2:11 pm
Reply with quote

what did you tell the end system people about the attributes of your file?
and,
provide a ds info on the file for us.
not what you think the attributes are.
do a cut&paste of a 3.2 (or 3.4) info display.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 03, 2009 5:40 pm
Reply with quote

This could be a COBOL issue, or it could be a parameter setting on the file transfer -- are you using FTP? There's plenty of ways to resolve it but with the limited information you've given us, not much more can be said.
Back to top
View user's profile Send private message
sachin_star3
Warnings : 1

New User


Joined: 30 Sep 2006
Posts: 78
Location: pune

PostPosted: Thu Dec 10, 2009 1:14 pm
Reply with quote

How you are creating the file.
Please provide the more information.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Thu Dec 10, 2009 1:58 pm
Reply with quote

definitely not enough information.

host system type? target? transfer method? transfer type (text, binary)? really spaces or end of file character? really - we don't know your system or what you are doing.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Dec 10, 2009 7:14 pm
Reply with quote

MBabu wrote:
definitely not enough information.

host system type? target? transfer method? transfer type (text, binary)? really spaces or end of file character? really - we don't know your system or what you are doing.


perhaps the topic starter does not either.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Identify Program Insert DB2 7
Search our Forums:

Back to Top