IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need the sort card using Build option.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mfchnuser

New User


Joined: 21 Sep 2012
Posts: 12
Location: India

PostPosted: Mon Dec 17, 2012 5:27 pm
Reply with quote

Thanks for your replies..i ran the sort step suggested by Anbarasan
..getting an abend U0016

this is the sysout log
Code:

 WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE                               
 WER486A  ERROR IN JNF1 PROCESSING                                           
 WER482I  JNF1 STATISTICS                                                   
 WER483B  1,780K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,         
 WER483B     0 BYTES RESERVE REQUESTED, 1,288,960 BYTES USED                 
 WER108I  SORTJNF1 : RECFM=FB   ; LRECL=    80; BLKSIZE= 27920               
 WER073I  SORTJNF1 : DSNAME=SYS12352.T064932.RA000.F0091CVT.FILEP.H04       
 WER483B  748K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,     
 WER483B     0 BYTES RESERVE REQUESTED, 268K BYTES USED                     
 WER485A  SORTJNF1 OUT OF SEQUENCE, RECORD NUMBER = 2                       
 WER482I  JNF2 STATISTICS                                                   
 WER483B  1,780K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,         
 WER483B     0 BYTES RESERVE REQUESTED, 1,302,464 BYTES USED                 
 WER108I  SORTJNF2 : RECFM=FB   ; LRECL=    80; BLKSIZE=    80               
 WER073I  SORTJNF2 : DSNAME=Z1225DJ.F0091CVT.JOB25150.D0000103.?             
 WER483B  748K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,     
 WER483B     0 BYTES RESERVE REQUESTED, 268K BYTES USED                     
 WER416B  BSAM WAS USED FOR SORTJNF2       

Can you please help why this is coming.. used exactly same jcl to test
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Dec 17, 2012 5:47 pm
Reply with quote

Code:
WER486A  ERROR IN JNF1 PROCESSING                                           
[...]
WER485A  SORTJNF1 OUT OF SEQUENCE, RECORD NUMBER = 2                       


Looks like your data is not in sequence. Remove the SORTED for the file 1 JOINKEYS.
Back to top
View user's profile Send private message
Anbarasan D

New User


Joined: 20 Apr 2010
Posts: 21
Location: USA

PostPosted: Tue Dec 18, 2012 1:39 am
Reply with quote

Use the Step2 sort card like below.

Code:
//SYSIN DD *                       
  JOINKEYS FILE=F1,FIELDS=(01,10,A)
  JOINKEYS FILE=F2,FIELDS=(21,10,A)
  JOIN UNPAIRED,F2,ONLY           
  REFORMAT FIELDS=(F2:1,80)       
  SORT FIELDS=COPY                 
/*                                 
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts SCOPE PENDING option -check data DB2 2
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top