Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: How to code OUTREC for saving the rest of the Input record
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 Moderator


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

PostPosted: Fri Aug 11, 2006 9:01 pm    Post subject:
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    Post subject:
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    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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us