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
 
Output file with only the numeric data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
KsquareD

New User


Joined: 14 Feb 2008
Posts: 4
Location: India

PostPosted: Thu Feb 21, 2008 1:09 pm    Post subject: Output file with only the numeric data
Reply with quote

Can a job be employed to accept a file containing both alphabetic and numeric data in its records and create an output file with only the numeric data present from the input file.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Feb 21, 2008 8:01 pm    Post subject: Re: Output file with only the numeric data
Reply with quote

KsquareD wrote:
Can a job be employed to accept a file containing both alphabetic and numeric data in its records and create an output file with only the numeric data present from the input file.
Yes, a program can be employed to do what you want, but it is unclear exactly what you want....
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: Thu Feb 21, 2008 9:20 pm    Post subject:
Reply with quote

Hello,

If you post a sample "input file" and show what should be written to the output file and explain the rules, someone will probably have a suggestion.

Include the file attributes for the input and output.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Feb 21, 2008 10:51 pm    Post subject:
Reply with quote

Ksquared,

Take a look at the "Check for a numeric string" Smart DFSORT Trick at:

http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/

and see if you can use that technique (INCLUDE with NUM) to do what you want.

If not, then provide more information on what you're trying to.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

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