View previous topic :: View next topic
|
Author |
Message |
krunalbafna Warnings : 1 Active User
Joined: 18 Jan 2010 Posts: 143 Location: Pune
|
|
|
|
Even without SET i am unbale to use it SIR. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
I may not have been clear enough, SYNCSORT does not have the facility to accept symbols from a parm.
Gerry |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Garry Carroll wrote: |
From what I understand, JP1 is a function supported by IBM's DFSORT, not SYNCSORT.
Garry. |
Garry Carroll wrote: |
You have WER* error messages which are from SYNCSORT not DFSORT so you either need to switch to DFSORT or use another method. |
Nic Clouston wrote: |
And that output is from SNCSORT as you can tell because it mentions SYNCSORT in various places and has SYNCSORT messages (WER*). I would suggest that you look at things more carefully before saying things like 'I tried with DFSORT and ICEMAN'. |
gcicchet wrote: |
Hi,
I'm pretty sure that SYNCSORT does not support SET symbols.
Gerry |
gcicchet wrote: |
Hi,
I may not have been clear enough, SYNCSORT does not have the facility to accept symbols from a parm.
Gerry |
How many times does the OP need to be told before realising that SYNCSORT and DFSORT are not the same product and the the local na mes DFSORT and ICEMAN are pointing to SyncSort - which doesn't have the feature....?
Garry. |
|
Back to top |
|
|
elango_K
New User
Joined: 18 Aug 2011 Posts: 44 Location: India
|
|
|
|
Quote: |
Is there an working example for JPN function using INREC or OUTREC to include value that can be passed using parm.
|
A mere search could have got you many examples.
here is one:
ibmmainframes.com/viewtopic.php?t=57587[/url] |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
That is for DFSORT. TS has Syncsort, and continues to hope for a DFSORT solution. Please don't encourage them, |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
I tried with DFSORT |
Here's a version of your job that WILL work with DFSORT providing you have the PTF for the JPn support.
Code: |
//KRUN9050 EXEC PGM=SORT,
// PARM='JP1"T.CA.Krunal.file"'
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=... input file (FB/219)
//SORTOUT DD DSN=&&O1,UNIT=SYSDA,SPACE=(CYL,(5,5)),DISP=(,PASS),
// DCB=(RECFM=FB,LRECL=219,BLKSIZE=0)
//SYSIN DD *
OPTION COPY
OUTFIL NODETAIL,REMOVECC,
TRAILER1=('FILE NAME-',X,JP1)
/*
|
When I ran this job, SORTOUT had:
Code: |
FILE NAME- T.CA.Krunal.file
|
This works fine with DFSORT. However, as far as I know, Syncsort DOES NOT support the JPn function, so this will NOT work with Syncsort. |
|
Back to top |
|
|
|