SYNCSORT SYSTEM DATE + DATA



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

SYNCSORT SYSTEM DATE + DATA

Postby cdellamas » Thu Feb 12, 2009 7:06 am

In SYNCSORT, How will I create an output data + the current system date (in JULIAN format)
cdellamas
 
Posts: 1
Joined: Thu Feb 12, 2009 7:01 am
Has thanked: 0 time
Been thanked: 0 time

Re: SYNCSORT SYSTEM DATE + DATA

 

Re: SYNCSORT SYSTEM DATE + DATA

Postby dick scherrer » Thu Feb 12, 2009 8:49 am

Hello and welcome to the forum,

You need to post some sample input data and the output you want from that input.

Your title mentions Syncsort, but you posted in the cobol part of the forum. . . This is being moved to the Syncsort part of the forum. If this is not what you want, please clarify.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: SYNCSORT SYSTEM DATE + DATA

Postby Alissa Margulies » Thu Feb 19, 2009 3:22 am

cdellamas,

Assuming your input data is FB/80, and you want the Julian date added to the end of each record as yyyyddd, try this:

//SYSIN DD *         
   SORT FIELDS=COPY     
   OUTFIL BUILD=(1,80,&DATE3)
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 1 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post