srajanbose
New User
Joined: 11 Oct 2004 Posts: 69 Location: chennai
|
|
|
|
Quote: |
Hi,
Below is my JCL
Code: |
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=Z000470.REXX.TOOL.IP,DISP=SHR
//SORTOUT DD DSN=Z000470.REXX.TOOL.OUTPUT,
// DISP=(,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(10,5),RLSE)
//SYSIN DD *
SORT FIELDS=(54,8,CH,A)
/*
|
|
Quote: |
The input file contains
Code: |
APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRAD; $AGSDICO
APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRGD; MGRETLR
APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRRD; BRENQSL
APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRRD; TRSTA2
APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRUD; $FANOGP
APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLSEX0D; FXDOSM7 |
|
Quote: |
The output i got is
Code: |
OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRGD;.fMGRETLR.¥APV;DPR;OR7SQE.PFI.L03.D25
0608.DPR.DPR.RPL.RLDPRRD;.fBRENQSL.¥APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.R
.. F...&¥APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRAD;.g$AGSDICO.¥APV;DPR;
LDPRRD;.eTRSTA2.¥APV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLDPRUD;.f$FANOGP.¥A
PV;DPR;OR7SQE.PFI.L03.D250608.DPR.DPR.RPL.RLSEX0D;.fFXDOSM7.. |
|
Quote: |
Can anyone clarify why the output came like this |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Krishnadeva Reddy wrote: |
LRECL parm is missing.
Try giving LRECL parm same as input dataset or use referback.
Thanks,
Krishna. |
And if the LRECL is different from the input ?
That is just one of the reasons that the SYSOUT was requested, to be sure of things before suggesting an answer. |
|