MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Creating New TRAILER Record

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
NorthernDancer
Beginner


Joined: 01 May 2007
Posts: 44
Topics: 22
Location: DOWNTOWN BUFFALO, NY

PostPosted: Mon Aug 17, 2015 11:47 am    Post subject: Creating New TRAILER Record Reply with quote

I'm creating a nice Trailer record using SYNCSORT here & these statements:

Code:

//SYSIN DD *
 MERGE FIELDS=COPY                             
 OUTFIL FILES=OUT,                             
 TRAILER1=(1:'Z|RECORDS   |COUNT|            ',
               33:COUNT=(TO=ZD,LENGTH=5),'|'), 
               REMOVECC                         
/*

I want to Bump COUNT by 1 to account for the Trailer Record. Don't know what to add in ??
maybe "33:(COUNT+1).....
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Aug 17, 2015 1:05 pm    Post subject: Reply with quote

NorthernDancer,

You have been a member for almost 8 years now and you should be able to use CODE tags by now.

Just so you know COUNT+1 works perfectly with DFSORT.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group