Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Why this type of code: STATREC=SYNCSTAT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
srinis
Warnings : 1

New User


Joined: 04 Jun 2007
Posts: 5
Location: chennai

PostPosted: Thu Jun 28, 2007 6:11 pm    Post subject: Why this type of code: STATREC=SYNCSTAT
Reply with quote

Hi,

i am facing the this type of code. pls explain purpose of this one.

//SORTPARM DD*
STATREC=SYNCSTAT
//*



Regards,
sree
Back to top
View user's profile Send private message

Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Jun 28, 2007 7:41 pm    Post subject:
Reply with quote

Are you sure you are in the right forum? This is the IMS DB/DC forum.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 29, 2007 2:16 am    Post subject:
Reply with quote

Hello,

Please post all of the jcl for this step as well as any informational messages produced.

What you have posted looks more like a sort question than a database question.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Jun 29, 2007 2:25 am    Post subject: Re: Off Topic
Reply with quote

sree, please lookup that parameter option in your Syncsort manual, and then post the description if you need more details.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Jun 29, 2007 2:37 am    Post subject: Re: OFF Topic: Why this type of code
Reply with quote

srinis wrote:
//SORTPARM DD*
STATREC=SYNCSTAT
//*
That is a good one...I looked at the fine manual and the index did not list SORTPARM, STATREC or SYNCSTAT.....
What program are you executing?
Can you list a little of the various SYSOUTs?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 29, 2007 2:42 am    Post subject:
Reply with quote

Hello,

My Syncsort info (z/OS 1.2) has only this for "STATREC",
Quote:
? If SORTOUT, SORTOFxx or SORTOFx are present, then for each output file:
? Perform STATREC/ENDREC processing.
? Perform SAMPLE processing.
? Perform INCLUDE/OMIT parameter processing.

nothing for "SYNCSTAT", and nothing for "SORTPARM" or "//SORTPARM".

Anyone know where else this might be covered?

Maybe Sree will post back with all of the jcl and control info and we can see what is being invoked. . . .
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Jun 29, 2007 3:34 pm    Post subject:
Reply with quote

Checked the database manager but neither STATREC nor SYNCSTAT were there icon_neutral.gif
Back to top
View user's profile Send private message
srinis
Warnings : 1

New User


Joined: 04 Jun 2007
Posts: 5
Location: chennai

PostPosted: Fri Jun 29, 2007 4:49 pm    Post subject:
Reply with quote

Hi,

I am sending the jcl. pls look at this one and help me.

Code:
                                                                         
//SORT     EXEC PGM=SORT,PARM='OPT=M'                                           
//SORTMSG  DD SYSOUT=*                                                         
//STATOUT  DD SYSOUT=*                                                         
//SYSOUT   DD SYSOUT=*                                                         
//SYSPRINT DD SYSOUT=*                                                         
//SYSUDUMP DD SYSOUT=*                                                         
//SORTPARM DD  *                                                               
 STATREC=SYNCSTAT                                                               
//*                                                                             


Regards,
sree.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 29, 2007 6:15 pm    Post subject:
Reply with quote

Hello Sree,

Please post the sysout info from any execution of your sort.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us