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: 1747
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: 1731
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: 1246
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: 1641
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: 1278
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 11 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am


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