Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
displaying in spool thru jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: displaying in spool thru jcl
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: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 27, 2009 2:24 pm    Post subject:
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 998
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Apr 27, 2009 2:39 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 27, 2009 2:47 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Apr 27, 2009 3:32 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Apr 28, 2009 3:00 pm    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Reg:Displaying the particular month o... bhavana yalavarthi All Other Mainframe Topics 4 Sat Jul 08, 2017 8:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us