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
 
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am

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