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 get teh count including the trailer record

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

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Oct 15, 2008 4:06 pm    Post subject: How to get teh count including the trailer record
Reply with quote

I have a sort like this which gives the count of all records except the trailer. I need to get the count including the trailer too, i;e count +1. Please help in case anyone knows this. My sort card is as given below.

SORT FIELDS=COPY
OUTFIL FILES(OUT),
LINES(060),
OUTREC=(0001:0001,0080,
0081:52X),
TRAILER1(0001:'ZCAD999 ',
0018:&DATE,
0026:&TIME,
0034:'001',
0037:COUNT,
0049:' ',
0058:'PAY012 ',
0073:'NONEDIR')
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed Oct 15, 2008 5:32 pm    Post subject:
Reply with quote

Use below

0037:COUNT+1=(EDIT=(IIIIIIIT)),
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Oct 15, 2008 7:33 pm    Post subject: Reply to: How to get teh count including the trailer record
Reply with quote

Thanks...it worked....
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed Oct 15, 2008 8:21 pm    Post subject:
Reply with quote

Quote:
Thanks...it worked....

Welcome icon_smile.gif icon_smile.gif
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 Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am


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