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
 
Alaphanumeric to Edited

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

New User


Joined: 30 Dec 2003
Posts: 19

PostPosted: Tue Jun 03, 2008 1:56 pm    Post subject: Alaphanumeric to Edited
Reply with quote

Hi

I have a field with an alphanumeric ex. POL-EXPI X(5) and the another one COV-EXPI which is 9V999. This POL-EXPI is the screen field.

As per my requirement I have to compare these two fields...I tried in several ways....but in vain.

Could you please suggest any way to complete this task...

Thanks in Advance
Subba
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Jun 03, 2008 2:58 pm    Post subject:
Reply with quote

what ways did you try?



define interm-expi pic 9v999.

inspect pol-expi converting low-values to spaces.
move function numval(pol-expi) to interm-expi.

if cov-expi = interm-expi ......
Back to top
View user's profile Send private message
srvmani
Warnings : 1

New User


Joined: 30 Dec 2003
Posts: 19

PostPosted: Tue Jun 03, 2008 4:35 pm    Post subject: Reply to: Alaphanumeric to Edited
Reply with quote

Hi

My shop does't allow the functions. I am getting error...
Please provide any other way..

Thanks for the reply..
Subbu
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Jun 03, 2008 5:42 pm    Post subject:
Reply with quote

sorry, I don't do antiquated op-systems.
Back to top
View user's profile Send private message
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Wed Jun 04, 2008 3:15 pm    Post subject:
Reply with quote

can srvmani please post the ways that you tried...
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: Wed Jun 04, 2008 7:52 pm    Post subject:
Reply with quote

Hello,

Quote:
Please provide any other way..
Once you show what you tried that did not work, people here can probably help.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jun 05, 2008 5:51 pm    Post subject:
Reply with quote

Showing the possible content variations of each field (if any) would help too.
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 Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Convert huge no of Numeric fields to ... i.see.the.truth DFSORT/ICETOOL 2 Tue Dec 08, 2015 6:27 am
No new posts Select line from edited member to com... Jack Judge CLIST & REXX 2 Mon Mar 09, 2015 12:49 pm
No new posts Finding the last edited timestamp of ... nikhil_bansal04 JCL & VSAM 16 Mon Dec 23, 2013 2:29 pm
No new posts Edited picture class for COMP-3 logic... dsivapradeep COBOL Programming 5 Tue Oct 15, 2013 2:26 pm

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