Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1789
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: 2406
Location: Hampshire, 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

Global Moderator


Joined: 21 Sep 2010
Posts: 2467
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19254
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 Read 4MB message and split into multi... myselfsk15 COBOL Programming 3 Fri Sep 25, 2020 7:24 am
No new posts COBOL reading from SYSIN jzhardy COBOL Programming 1 Mon Sep 21, 2020 2:37 pm
No new posts how to read accounting information in... jzhardy COBOL Programming 1 Mon Sep 21, 2020 9:57 am
No new posts Dynamically read input files using BP... Srinivas B COBOL Programming 20 Sat Sep 05, 2020 1:48 pm
No new posts EIBRESP=16 and EIBRESP2=25 while doi... sancraig16 CICS 2 Thu Sep 03, 2020 2:53 am

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