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 

ESP SCHEDULER - HELP
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
tvssv
Beginner


Joined: 11 Mar 2009
Posts: 58
Topics: 25

PostPosted: Fri May 24, 2019 7:07 am    Post subject: Reply with quote

Hi Kolusu,

Thank You.

I am trying to create the SORT JCL. I see the numbers like 134,360,726 etc what is the record length you have considered.

Thanks
_________________
Thanks
TVSSV
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri May 24, 2019 7:28 am    Post subject: Reply with quote

Wjhy not run the JCL Kolusu provide, with your own jobcard of course, look at the output (//OUT DD SYSOUT=*), scroll right until you find the last column with you data in it. Use that as a starting LRECL.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri May 24, 2019 10:46 am    Post subject: Reply with quote

tvssv wrote:
Hi Kolusu,

Thank You.

I am trying to create the SORT JCL. I see the numbers like 134,360,726 etc what is the record length you have considered.

Thanks


Tvssv,

You never had to code any DCB parameters for DFSORT. They will automatically be calculated for you. You just need to code it as follows

Code:

//OUT      DD DSN=Your.output.report.dataset,
//            DISP=(NEW,CATLG,DELETE),
//            SPACE=(CYL,(25,10),RLSE)


In case you are wondering, the report is 300 byte long.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tvssv
Beginner


Joined: 11 Mar 2009
Posts: 58
Topics: 25

PostPosted: Mon May 27, 2019 10:26 am    Post subject: Reply with quote

Hi Kolusu,

I have coded the exact code and run the jcl it is giving the below error for CTL2CNTL.

CALLER-PROVIDED IDENTIFIER IS "0002"
INREC STATEMENT : SYNTAX ERROR

I have codded //SYSDUMP DD SYSOUT=* but no dump is displayed.

Please help.

Thanks & Regards
_________________
Thanks
TVSSV
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Mon May 27, 2019 11:57 am    Post subject: Reply with quote

tvssv wrote:
Hi Kolusu,

I have coded the exact code and run the jcl it is giving the below error for CTL2CNTL.

CALLER-PROVIDED IDENTIFIER IS "0002"
INREC STATEMENT : SYNTAX ERROR


tvssv,

It is quite amazing that you decided to strip off the actual message numbers. Had you posted the complete messages , it would be obvious that you are using syncsort. I posted a DFSORT/ICETOOL solution which works without any issues. DFSORT and Syncsort are competitive products. I'm a DFSORT developer. I'm happy to answer questions on DFSORT and DFSORT's ICETOOL, but I don't answer questions on Syncsort.

tvssv wrote:

I have codded //SYSDUMP DD SYSOUT=* but no dump is displayed.

Please help.

Thanks & Regards


Not sure as to why you think a syntax error would result in a dump. Unless you have Abend Debugging you would never get a dump. I am not even sure why you would need a dump to diagnose a syntax error.
_________________
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
Goto page Previous  1, 2
Page 2 of 2

 
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