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

comparison operator


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Apr 07, 2010 9:42 pm
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: 2146
Location: At my coffee table

PostPosted: Wed Apr 07, 2010 9:49 pm
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
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

Moderator Emeritus


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

PostPosted: Thu Apr 08, 2010 8:15 pm
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: 2146
Location: At my coffee table

PostPosted: Thu Apr 08, 2010 8:28 pm
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 09, 2010 2:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB File comparison JCL & VSAM 1
No new posts Group comparison/update between two f... DFSORT/ICETOOL 10
This topic is locked: you cannot edit posts or make replies. Related to using a file in comparison JCL & VSAM 8
No new posts Comparison of numeric edited variables COBOL Programming 4
No new posts Relational operator compare date rang... CLIST & REXX 14
Search our Forums:

Back to Top