IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Output file with only the numeric data


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Thu Feb 21, 2008 8:01 pm
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

Moderator Emeritus


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

PostPosted: Thu Feb 21, 2008 9:20 pm
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 Developer


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

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

Ksquared,

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
Search our Forums:

Back to Top