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
 

 

Special Characters in Column 7

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

New User


Joined: 11 Mar 2006
Posts: 13

PostPosted: Thu Aug 03, 2006 8:49 pm    Post subject: Special Characters in Column 7
Reply with quote

Hi
one of my friends coded a very simple cobol program to display a message. But he received an error which said that

"There were non-cobol characters (apart from * - /) in column 7."
Max CC = 12.

We couldnt find any such character in column 7 in the program.

Has anyone come across this message before?

Any help would be appreciated.

Thanks in advance icon_biggrin.gif
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Fri Aug 04, 2006 4:37 am    Post subject: Re: Special Characters in Column 7
Reply with quote

Well,

What compiler are you using?

I find that the compiler is usually right in its diagnostics. Doesn?t the compiled listing indicate the line in question?

It?s kind of hard to help without seeing the code and compiled listing. I have had instances where I thought my TSO edit session was ?NUM COB? but really ?NUM STANDARD?. I cut and paste code into it and come up with this kind of error. However, it?s not hard to see what the problem is.

Maybe you can post the code and errors.

If this has been resolved, come back and let us know what happened.

Dave
Back to top
View user's profile Send private message
isys2006

New User


Joined: 11 Mar 2006
Posts: 13

PostPosted: Sat Aug 05, 2006 8:45 am    Post subject: Re: Special Characters in Column 7
Reply with quote

Thanks david for the help.
The problem was this person cut & pasted the code from another member.

If you write the program afresh, there was no problem.
Its fixed now.
Thanks once again.

warm regards
ram
Back to top
View user's profile Send private message
annujp

New User


Joined: 31 Aug 2005
Posts: 39
Location: St Paul,MN

PostPosted: Fri Aug 25, 2006 5:12 pm    Post subject:
Reply with quote

At times like this, just give the command F all " " in the command line. The spaces will be highlighted and any junk characters will show up as a dark space.U can either space out this position or delete that line if blank.

I have faced this issue when i try to upload a Pgm or JCL from PC to Host.
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 Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 6 Sun Nov 06, 2016 8:11 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts Add system date inside of a PS file a... pramitdas DFSORT/ICETOOL 5 Sun Aug 28, 2016 12:06 am


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