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
 

 

How to read the value +9999999099 in cobol ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Fri Mar 14, 2014 9:37 pm    Post subject: How to read the value +9999999099 in cobol ?
Reply with quote

Hi ,

In my input file I have below value and it has last four characters
after decimal point. Can you please tell me how to read this ?.
I cannot use S9(7)V9(4), becuase my sign is not stored last character.
Also 9(8)v9(4) is not supports as it has '+' character at starting.

+00319310710

Thanks and Regards,
Kumar.M
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1753
Location: Bloomington, IL

PostPosted: Fri Mar 14, 2014 9:41 pm    Post subject:
Reply with quote

Read about fixed insertion editing.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1767
Location: UK

PostPosted: Fri Mar 14, 2014 10:34 pm    Post subject: Reply to: How to read the value +9999999099 in cobol ?
Reply with quote

And what has this to do with TSO or ISPF?
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Mar 14, 2014 11:35 pm    Post subject:
Reply with quote

In that same manual, you might want the Intrinsic Function NUMVAL.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1677
Location: NY,USA

PostPosted: Sat Mar 15, 2014 12:23 am    Post subject:
Reply with quote

Very difficult to understand the question.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Mar 15, 2014 1:17 am    Post subject:
Reply with quote

Hello,

Possibly TS will explain a bit more why there is a problem.

I must admit, i do not know . . . icon_confused.gif
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Mon Mar 17, 2014 5:46 pm    Post subject:
Reply with quote

maybe he hasn't found the phrase "SIGN LEADING SEPARATE".
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 Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am
No new posts Read of TDQ fails in LENGERR Tracy Hansen CICS 10 Wed Apr 05, 2017 12:10 am
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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