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

Why this type of code: STATREC=SYNCSTAT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Jun 28, 2007 7:41 pm
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

Moderator Emeritus


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

PostPosted: Fri Jun 29, 2007 2:16 am
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

Global Moderator


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

PostPosted: Fri Jun 29, 2007 2:25 am
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: 3156
Location: Tucson AZ

PostPosted: Fri Jun 29, 2007 2:37 am
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

Moderator Emeritus


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

PostPosted: Fri Jun 29, 2007 2:42 am
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: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri Jun 29, 2007 3:34 pm
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
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

Moderator Emeritus


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

PostPosted: Fri Jun 29, 2007 6:15 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts SMF record type 30 JCL & VSAM 8
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top