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

displaying in spool thru jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dinodine

New User


Joined: 09 Apr 2009
Posts: 4
Location: chennai

PostPosted: Mon Apr 27, 2009 2:23 pm
Reply with quote

Can we display a name(for ex: company name) in spool region without cobol and using jcl alone.?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 27, 2009 2:24 pm
Reply with quote

I think that you need to explain a lot more of what you want to do to get helpful responses.
Back to top
View user's profile Send private message
dinodine

New User


Joined: 09 Apr 2009
Posts: 4
Location: chennai

PostPosted: Mon Apr 27, 2009 2:27 pm
Reply with quote

suppose in a report i want to print the company name on the top.
how can i do it using the jcl commands?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Apr 27, 2009 2:39 pm
Reply with quote

Whatever is producing the report should print the (e.g.) company name. Some program has to run - JCL alone can't do what you want.

Garry.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 27, 2009 2:47 pm
Reply with quote

Probably be a lot easier to get the program to generate the correct headers in the first place.

Other wise you would have to unload the SDSF element to a file, edit the file and then print it again to SDSF.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Apr 27, 2009 3:32 pm
Reply with quote

Your question is not clear. From where do you get the company name? How does input look like? How you want the company name to appear in output?

May be SORT can be of some use here . . .
Back to top
View user's profile Send private message
dinodine

New User


Joined: 09 Apr 2009
Posts: 4
Location: chennai

PostPosted: Tue Apr 28, 2009 10:00 am
Reply with quote

Sorry, tat i cudnt be clear. And my question was about using a header thru jcl.
I got the solution. We can do it using SORT.
Thanks for the replies.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 28, 2009 3:00 pm
Reply with quote

Glad to hear . . .
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 IBM OnDemand Folders displaying to al... IBM Tools 6
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Capturing logs from spool dd JCL & VSAM 6
No new posts No sysout coming in spool JCL & VSAM 4
No new posts SPOOL commands for INTRDR CICS 8
Search our Forums:

Back to Top