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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 4 Wed Jul 26, 2017 7:35 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am


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