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

Running ISPF in batch


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

New User


Joined: 07 Jul 2004
Posts: 7

PostPosted: Wed Jul 07, 2004 9:27 pm
Reply with quote

Hi,

I am trying to find some solution of running Online SPUFI in batch ?

Is it possible to run SPUFI in Batch?
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Wed Jul 07, 2004 11:22 pm
Reply with quote

I don't know what an "Online SPUFI" is exactly (something to do with DB2, I think), but - how do you normally run an "Online SPUFI"?
Back to top
View user's profile Send private message
goku

New User


Joined: 07 Jul 2004
Posts: 7

PostPosted: Thu Jul 08, 2004 12:46 am
Reply with quote

I meant Running SPUFI through Panels....

can these be run in batch ????
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu Jul 08, 2004 1:12 am
Reply with quote

Well, certainly invoking ISPF services from batch is a no-brainer. The only thing I don't know the answer to is: how will the batch job deal with a panel display? I believe that you can call the panel, although it won't be displayed anywhere visible, but I have no idea if there is any way to enter information into a panel running in batch, since there is no 3270 terminal program running.
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Thu Jul 08, 2004 12:21 pm
Reply with quote

you can enter command in an ispf panel in batch... it has to be taken care of in exec (thru VPUT to Zcmd) but have no time now to test it
Back to top
View user's profile Send private message
goku

New User


Joined: 07 Jul 2004
Posts: 7

PostPosted: Thu Jul 08, 2004 4:57 pm
Reply with quote

hi blubird,

If you some sample jcl or exec ..can u share it with me. i will try at my end..
Back to top
View user's profile Send private message
goku

New User


Joined: 07 Jul 2004
Posts: 7

PostPosted: Mon Jul 26, 2004 5:01 pm
Reply with quote

Hey bluebird ....

If you free now ...can you please give the method of running the SPUFI in batch .... I will try at my end and see if it works ....

Thanks,
Back to top
View user's profile Send private message
goku

New User


Joined: 07 Jul 2004
Posts: 7

PostPosted: Wed Jul 28, 2004 10:00 pm
Reply with quote

I have found a solution for running the SPUFI in batch ...and it's working perfectly icon_biggrin.gif ...

anyways ...thanks..
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Fri Aug 06, 2004 3:53 pm
Reply with quote

Hi goku,

why dont you give your solution here. Even i am curious in knowing this.
Can you also give some reason why you want to run spufi thru batch. May be it helps us.

Thanks,
Anu
Back to top
View user's profile Send private message
goku

New User


Joined: 07 Jul 2004
Posts: 7

PostPosted: Mon Aug 09, 2004 6:57 pm
Reply with quote

Hi Anuradha,

First of all let me explain you why i wanted to do that ....

Firstly, if you want to execute an SQL statement in batch ...you have to use DSNTEP2 ....but it has a limitation of LRECL of 133 for O/P dataset ...

but what if you want the LRECL > 133 that's why i was using SPUFI through panels ...where you can specify the record length you want ....

But if you are able to run the same through batch ..then the limitation of 133 is gone ...

For example ...In my current project I have to run lots of SQl to generate reports in CSV format with LRECL greater than 133 So i had to no other option but run the SPUFI through panels ....But now after successfully running the panels in batch ....i can just sumbit the jcl ...and everything is done.... icon_smile.gif

Here is the Link from which i had customised accordingly ....
groups.google.com/groups?q=spufi+batch+group:comp.databases.ibm-db2&hl=en&lr=&ie=UTF-8&group=comp.databases.ibm-db2&selm=33013330.6BA2%40wwnet.com&rnum=1

You can try it out ....

Goku
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 Running REXX through JOB CLIST & REXX 13
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
Search our Forums:

Back to Top