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

Specifying a dataset for SYSPRINT -compiling in Changeman


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kk87736

New User


Joined: 09 Dec 2009
Posts: 4
Location: India

PostPosted: Wed Dec 09, 2009 9:45 pm
Reply with quote

Hi,
I wanna do an indexed report generation(Option5) in STROBE. However, when i looked into the tutorial, it says "To execute a STROBE Indexer program, you need a SYSPRINT data set from a source
code compilation, assembly, or 4GL source listing utility.
If you do not have one, override the SYSPRINT data definition in your
compile, assembly, or 4GL source listing utility procedure to create
a permanent data set, and recompile or reassemble your source code. ".

I guess this means ive to compile the program and specify an output dataset for SYSPRINT.

I tried modifying the JCL which comes in the Changeman "STAGE: COMPILE AND LINK EDIT" screen, but failed in the attempt.

Can anyone suggest how to specify a dataset to put the SYSPRINT messages into while compiling a COBOL program using Changeman?
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: Wed Dec 09, 2009 10:26 pm
Reply with quote

Hello and welcome to the forum,

What did you try? What exactly happened?

Posting "it failed" provides nothing for someone to use to help you. . .
Back to top
View user's profile Send private message
kk87736

New User


Joined: 09 Dec 2009
Posts: 4
Location: India

PostPosted: Thu Dec 10, 2009 10:21 am
Reply with quote

Hi,
Thanks for the quick response.. I modified the JCL which comes in the Changeman "STAGE: COMPILE AND LINK EDIT" screen changing it from
//jobid JOB (job),'CHANGE MAN',
// CLASS=0,
// NOTIFY=user,
// MSGCLASS=0

to
//jobid JOB (job),'CHANGE MAN',
// CLASS=0,
// NOTIFY=user,
// MSGCLASS=0
//SYSPRINT DD DSN='USER.TEMP.SYSPRINT'
// DISP=(NEW,CATLG,DELETE),
// DCB=(RECFM=FB,LRECL=200,BLKSIZE=0),
// DATACLAS=DCCOMP,BUFNO=20,
// SPACE=(CYL,(200,100),RLSE)

hoping that the SYSPRINT records would get stored in the file i'd specified. However i got the JCL Error saying
"2 IEFC019I MISPLACED DD STATEMENT "

Can you kindly help me out on this?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 10, 2009 1:47 pm
Reply with quote

did You look at the message meaning... for IEFC019I

www-03.ibm.com/systems/z/os/zos/bkserv/index.html
You can use the LookAT to search directly for the message

hint... You just cannot insert a DD statement at random in a jcl stream
JCL has it' s rules and You must follow them;
the best suggestion we can give You is...
get proper training
Back to top
View user's profile Send private message
kk87736

New User


Joined: 09 Dec 2009
Posts: 4
Location: India

PostPosted: Thu Dec 10, 2009 2:02 pm
Reply with quote

Hi,
Can you help me out in getting the SYSPRINT data into a dataset? Is there any other way? Currently, after compilation, i see the SYSPRINT data in the spool... The JCL space in Changeman allows only 4 lines for the JCL(hence the desperate action of including the Sysprint step) .. The default JCL which appears in the space is as i mentioned in my earlier post..


Is there an easier method to do an indexed report generation in strobe?[/img]
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Dec 10, 2009 2:16 pm
Reply with quote

You see Enrico, what you get back for your effort giving an answer?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 10, 2009 2:50 pm
Reply with quote

wouldn' t it be faster to ask inside Your organization? certainly yes...
( rhetoric question and answer icon_wink.gif )

to plug a statement in open code ( straight jcl ) is something anybody can do

to override a statement in a procedure is something that needs a bit more knowledge about the surrounding environment

ask Your support... ( performance, and changeman)
performance analysis is something that should receive full support from Your organization
Back to top
View user's profile Send private message
kk87736

New User


Joined: 09 Dec 2009
Posts: 4
Location: India

PostPosted: Tue Dec 15, 2009 2:13 pm
Reply with quote

Hi Enrico..
Finally managed to run the indexed strobe icon_biggrin.gif .. I did the following ..

1. Copied the compiler listing to a local PS (since strobe couldnt process the VB file which the listing is)
2. Ran the Strobe indexed performance profile ..

Now i'm able to find out which part of the program is taking excess CPU .. Thanks a lot for your quick response to my queries ..
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
Search our Forums:

Back to Top