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
 
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 Duplicate PARM on OUTFIL sancraig16 SYNCSORT 11 Thu Apr 05, 2018 10:25 pm
No new posts IPCONFIG SEGMENTATIONOFFLOAD parm in ... Keith Hays TSO/ISPF 0 Wed Jan 03, 2018 11:42 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm

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