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

How can I explode a comp field with a "sort outrec"


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
miosne
Warnings : 1

New User


Joined: 13 Mar 2006
Posts: 63
Location: italy

PostPosted: Fri Oct 06, 2006 6:00 pm
Reply with quote

HI all!!!
how can I explode a comp field with a "sort outrec" icon_surprised.gif

thank you very much!!!!

Campioni del mondo!!!!
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: Fri Oct 06, 2006 8:50 pm
Reply with quote

"explode"? Use the DYNAMITE keyword. icon_lol.gif

But seriously, are you asking how to convert a COMP field to readable characters or what? COMP is equivalent to DFSORT's BI or FI format. See the following for more information:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/C.3?DT=20060615185603

You can use p,m,f,edit or p,m,f,to to convert a BI or FI field. Exactly what you'd use depends on what you want the output to look like. See the following for some more information:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CG20/2.4.7?DT=20060615173822

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CG20/2.4.8?DT=20060615173822
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts To Unstring spaces in a field COBOL Programming 3
Search our Forums:


Back to Top