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
 

 

Specifying a dataset for SYSPRINT -compiling in Changeman

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Specifying a dataset for SYSPRINT -compiling in Changeman
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

Site Director


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

PostPosted: Wed Dec 09, 2009 10:26 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10255
Location: italy

PostPosted: Thu Dec 10, 2009 1:47 pm    Post subject: Reply to: Specifying a dataset for SYSPRINT -compiling in Ch
Reply with quote

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

http://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    Post subject:
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Thu Dec 10, 2009 2:16 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10255
Location: italy

PostPosted: Thu Dec 10, 2009 2:50 pm    Post subject: Reply to: Specifying a dataset for SYSPRINT -compiling in Ch
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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