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

How to code OUTREC for saving the rest of the Input record


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PUMA

New User


Joined: 08 Aug 2006
Posts: 10
Location: FRANCE

PostPosted: Fri Aug 11, 2006 8:45 pm
Reply with quote

I use SORT to copy a dataset and replace some fields :
Here are my statements :
SORT FIELDS=COPY
OUTREC FIELDS=(1,62,C'0000000',70,197,C'000',270)

My datasets are FB/299

The Msg is : ICE126A Inconsistent Reformating Fields Found

It's for the value 270 whitout the length, but i'll like the sort calculate
the rest of the record, i-e 30 .

Can anyone help me ?

icon_question.gif
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 Aug 11, 2006 9:01 pm
Reply with quote

You can only use p without m (e.g. 270) for a VB file - in that case, DFSORT copies the variable part of the record. For an FB file, you have to specify p,m - starting position and length.
Back to top
View user's profile Send private message
PUMA

New User


Joined: 08 Aug 2006
Posts: 10
Location: FRANCE

PostPosted: Fri Aug 11, 2006 9:08 pm
Reply with quote

Frank Yaeger wrote:
You can only use p without m (e.g. 270) for a VB file - in that case, DFSORT copies the variable part of the record. For an FB file, you have to specify p,m - starting position and length.


Thank you very much
I read it in the documentation but i wanted to know if it was another way to complete my request
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 split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top