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
 
Sign clause as leading/trailing seperate

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Sign clause as leading/trailing seperate
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    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: 1592

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
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 Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am

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