Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Sign Clause

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
meetsrk

Active User


Joined: 13 Jun 2004
Posts: 86

PostPosted: Wed Jul 21, 2004 9:35 pm    Post subject: Sign Clause
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
References
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1508

PostPosted: Thu Jul 22, 2004 10:02 pm    Post subject:
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: 1508

PostPosted: Fri Jul 23, 2004 7:52 pm    Post subject:
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    Post subject:
Reply with quote

hi,

i think u have to mention negative symbol.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1