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
 

 

comparison operator

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Bence Simon

New User


Joined: 16 Nov 2009
Posts: 3
Location: Székesfehérvár - Hungary

PostPosted: Wed Apr 07, 2010 9:08 pm    Post subject: comparison operator
Reply with quote

Hi!

i have to list all the started jobs after a certain date. but i can't.
pls take a look.


Code:
//STEP010 EXEC PGM=EQQYCAIN,PARM=OPCE                   
//EQQMLIB  DD DISP=SHR,DSN=SYS1.TWSZOS.SEQQMSG0         
//EQQDUMP  DD SYSOUT=*                                 
//BATCHL   DD SYSOUT=*                                 
//OI       DD SYSOUT=*                                 
//AD       DD SYSOUT=*                                 
//CPOC     DD SYSOUT=*                                 
//ERREUR   DD SYSOUT=*                                 
//EQQMLOG  DD SYSOUT=*                                 
//SYSPRINT DD DISP=OLD,DSN=HSDIGA2.SEQ.SDSFO           
//SYSIN    DD *                                         
ACTION=LIST,RESOURCE=CPOPCOM,IA='1004060500<',STATUS=S.
/*                                                     

here is the error message:

EQQYCAIN:PIF INTERFACE INIT     OPC=OPCE ,RC=00 
EQQYCLC1:ERROR WORD=  1004060500                 
EQQYCAIN:LIST      CPOPCOM             RC=0110   
EQQYCAIN:SYNTAX ERROR WORD=STATUS   ,CHAR==     
EQQYCAIN:PIF INTERFACE TERM     OPC=OPCE ,RC=00 

thanks

Simon
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 Apr 07, 2010 9:42 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

How does this question relate to jcl?

What does the documentation say about the control statement and the messages?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Apr 07, 2010 9:49 pm    Post subject:
Reply with quote

Is a "D" valid for "LIST"?
IBM Tivoli Workload Scheduler for z/OS Programming Interfaces wrote:
ADCOM: List of application descriptions. ACTION=LIST,RESOURCE=ADCOM,STATUS=adstatus,
.
.
.
adstatus A or P (char(1))
Back to top
View user's profile Send private message
Bence Simon

New User


Joined: 16 Nov 2009
Posts: 3
Location: Székesfehérvár - Hungary

PostPosted: Thu Apr 08, 2010 5:11 pm    Post subject:
Reply with quote

dick scherrer: nothing is in the documentation about this RC

CICS Guy: i think the status argument is correct. i tried to run without IA and it's worked.

the comparison operator don't want to work and i can't understand why. the syntax of IA argument is based on PIF document.
i'm puzzled icon_sad.gif
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: Thu Apr 08, 2010 8:15 pm    Post subject:
Reply with quote

Hello,

Quote:
nothing is in the documentation about this RC
Suggest you contact product support for a current set of documentation. If product support has no more current documentation, they can at least provide informaton about the message(s) that need clarification.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 08, 2010 8:28 pm    Post subject:
Reply with quote

A quick Google of "EQQYCAIN" bring up a link to an 'IBM Tivoli Workload Scheduler for z/OS Programming Interfaces' PDF....
Back to top
View user's profile Send private message
Bence Simon

New User


Joined: 16 Nov 2009
Posts: 3
Location: Székesfehérvár - Hungary

PostPosted: Thu Apr 08, 2010 8:44 pm    Post subject:
Reply with quote

Yes i have read that PDF.
this is the current part:

"For example, if the current plan contains such occurrences as:
AAAAAA 98/01/21 08.00 C
AAAAAA 98/01/22 07.00 C
BBBBBB 98/01/22 08.00 C
BBBBBB 98/01/23 08.00 C
and you want to list all occurrences whose IA value is greater than the first IA value, you must supply '9801210800<' as the argument value. Alternatively, if you want to list all the occurrences whose application name is greater than the first application name, for example, you can supply a string of any number of characters terminated by a comparison operator, such as 'AAA<='. You can thus use the comparison operators in different ways, depending on the type of data you use as the argument."
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Fri Apr 09, 2010 2:44 pm    Post subject:
Reply with quote

As far as i know is that EQQYCAIN is a "sample" program.
I think it doesnt process all sorts of parameters one can use
by creating your own PIF routine.

When i wanted OPC/TWS info i always used the tracklog as input.
All the info about jobs/applications is there.
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
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Two different PDS production and test... Mani453 CLIST & REXX 6 Fri Nov 20, 2015 2:25 pm
No new posts REXX code for comparison of two diffe... Mani453 CLIST & REXX 6 Fri Nov 20, 2015 5:21 am
No new posts ICETOOL "SUBSET" operator q... David Sde DFSORT/ICETOOL 2 Tue Jul 28, 2015 7:53 pm
No new posts tws opc 5.4 how to change operator te... italo_pm IBM Tools 5 Wed Apr 29, 2015 11:22 am


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