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
 

 

An Outfile parm I am missing

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

New User


Joined: 25 Jan 2007
Posts: 39
Location: Charleston SC

PostPosted: Fri Jun 01, 2007 4:18 am    Post subject: An Outfile parm I am missing
Reply with quote

I am overlooking the proper ?outfile' statement when I look through the DFSORT manual. So Frank I need your help.

I am attempting to create a file that contains an 80 byte FB record. The customer number of 001001 should be a constant in columns 1, 6 also the totals from several input records, in columns 7, 12, also in column 25 there should be a 'B' to identify the record type.

I have been successful in totaling the input record totals the total in the output record of 098500 I have verfied is correct; my problem is to place the constant of 001001, in columns 1, 6 of the output record.

The control cards that I am using to generate the file are as follows

Code:
//SYSIN    DD    *
  OPTION COPY
  OUTFIL REMOVECC,NODETAIL,
    BUILD=(1,73,80:X),
    TRAILER1=(5,6,
       TOT=(1,6,ZD,M11,LENGTH=6),C'000000000000',C'B')
/*


I have attempted two/three unsuccessful resolutions. The last output file is as follows

Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
00    098500000000000000B
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 Jun 01, 2007 4:54 am    Post subject:
Reply with quote

Quote:
my problem is to place the constant of 001001, in columns 1, 6 of the output record.


Not sure what you've tried, but you can put the constant in as a character string like this:

Code:

   TRAILER1=('001001',...)
Back to top
View user's profile Send private message
Bill Ross

New User


Joined: 25 Jan 2007
Posts: 39
Location: Charleston SC

PostPosted: Fri Jun 01, 2007 8:50 pm    Post subject: Re: An Outfile parm I am missing
Reply with quote

Thank you Sir the resolution worked for me.
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 Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts Fault Analyser - missing code explana... egrove IBM Tools 1 Thu Aug 11, 2016 5:55 pm
No new posts Missing Java main class akg Java & MQSeries 3 Wed May 25, 2016 4:05 pm
No new posts Copy a particular column based on PAR... brindhamohan DFSORT/ICETOOL 5 Wed May 11, 2016 8:49 am
No new posts Use of Parm in SORT Ambili S DFSORT/ICETOOL 2 Mon May 09, 2016 9:16 pm


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