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
 
Couldn't reformat the field - REFORMATTING FIELD ERROR

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

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Sat Jan 28, 2012 12:46 pm    Post subject: Couldn't reformat the field - REFORMATTING FIELD ERROR
Reply with quote

I just tried this with the help of manual. But it produces
Code:
ICE111A E REFORMATTING FIELD ERROR

Sort Card -
Code:
//SYSIN    DD *                                       
 SORT FIELDS=(1,3,CH,A)                               
 OUTREC FIELDS=(4,6,CHANGE=(14,                       
                            C'SURESH',C'SURESHKUMAR',
                            C'RAMESH',C'RAMESHKUMAR',
                            C'RAJESH',C'RAJESHKUMAR',
                            NOMATCH=(4,6)))           
                                                     
/*


Input file -

Code:
**********************
100SURESH101001230   
200RAJESH202002460   
100SURESH101001000   
200RAJESH202001460   
300RANGSH300500615   
400RAMESH             
**********************


Input is a fixed record length file of 80 bytes. Could any one tell why this occurs ? Thanks in advance.
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Sat Jan 28, 2012 2:40 pm    Post subject: Reply to: Couldn't reformat the field - REFORMATTING FIELD E
Reply with quote

Can you please post all the output messages from your sort step?
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Sat Jan 28, 2012 4:46 pm    Post subject: Reply to: Couldn't reformat the field - REFORMATTING FIELD E
Reply with quote

It is one of those you can stare at and stare at. Leave for a while. Come back to and spot that the closing bracket for the length of fields and values to change is after the NOMATCH instead of before it.

Try this instead:

Code:
  SORT FIELDS=(1,3,CH,A)                               
   OUTREC FIELDS=(4,6,CHANGE=(14,                       
                              C'SURESH',C'SURESHKUMAR',
                              C'RAMESH',C'RAMESHKUMAR',
                              C'RAJESH',C'RAJESHKUMAR'),
                              NOMATCH=(4,6))
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Sat Jan 28, 2012 5:28 pm    Post subject:
Reply with quote

Thanks Bill. It is working.
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 -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm

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