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

Sign clause as leading/trailing seperate


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

New User


Joined: 13 Jun 2004
Posts: 85

PostPosted: Wed Jul 21, 2004 9:35 pm
Reply with quote

hi ppl,

if im using sign clause as leading/trailing seperate, then is it neccessary for me to give the input with the minus for the negative value ?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jul 22, 2004 10:02 pm
Reply with quote

Hi meetsrk,

If you just want to move or display it you don't need a valid sign. If you want to perform arith functions you need a valid sign.

Regards, Jack.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Jul 23, 2004 7:52 pm
Reply with quote

I should have mentioned this in my earlier post:

You'll get this msg in the JES Job Log

IEF450I I90941SP SPACER - ABEND=S000 U4038 REASON=00000001 666 (666? scary! :twisted: )

This msg in SYSOUT

IGZ0040S An invalid separate sign was detected in program TESTPGM on line 136.
From compile unit TESTPGM at entry point TESTPGM at compile unit offset
at address 25B01826.

And a CEEDUMP

Regards, Jack.

P.S. Meetsrk, you should put together a test pgm like I did and test these kinds of things yourself.
Back to top
View user's profile Send private message
sudha

New User


Joined: 16 Aug 2004
Posts: 7

PostPosted: Mon Aug 16, 2004 9:36 pm
Reply with quote

hi,

i think u have to mention negative symbol.
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 Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Remove leading zeroes SYNCSORT 4
No new posts leading spaces can be removed in trai... DFSORT/ICETOOL 1
No new posts To search DB2 table based on Conditio... DB2 1
No new posts How to display the leading zeros of a... DB2 7
Search our Forums:

Back to Top