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
 

 

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 Using ICETOOL, how we can seperate th... bshkris SYNCSORT 5 Tue May 09, 2017 8:33 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Need help on SQL Dynamic WHERE Clause subratarec DB2 12 Sat Jul 16, 2016 3:11 pm


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