Topic
  • 3 replies
  • Latest Post - ‏2011-12-23T11:21:22Z by gogol
SF89_juan_cruz_Montanari
8 Posts

Pinned topic Invalid option 'NUMITEMS'

‏2011-12-12T18:30:27Z |
I'm using RDz with TXSeries, I want to perform the local syntax check of:

EXEC CICS
WRITEQ TS
QUEUE (WS-COLA-RESP)
FROM (WS-TEMP-RTA)
LENGTH (WS-RESP-LENGTH)
MAIN
NUMITEMS (WS-IND-ITEM)
RESP (WS-CICS-ERROR)
END-EXEC.

And I get an error like this:
'ERZ004023E: Invalid command option 'NUMITEMS'.

The variable WS-IND-ITEM is declared as PIC S9(4) COMP.
Besides, I' have problems using this commands:
If anyone has any help for me and for the forum, I'll thank you.

Greetings!
Updated on 2011-12-23T11:21:22Z at 2011-12-23T11:21:22Z by gogol
  • mazogi
    mazogi
    1 Post

    Re: Invalid option 'NUMITEMS'

    ‏2011-12-13T18:27:14Z  
    Hi,

    as I mentioned in my other post, NUMITEMS does not seem to be a valid option for the TXSeries WRITEQ TS.
    Thanks,

    Gary
  • SF89_juan_cruz_Montanari
    8 Posts

    Re: Invalid option 'NUMITEMS'

    ‏2011-12-13T19:51:57Z  
    • mazogi
    • ‏2011-12-13T18:27:14Z
    Hi,

    as I mentioned in my other post, NUMITEMS does not seem to be a valid option for the TXSeries WRITEQ TS.
    Thanks,

    Gary
    Hi Gary,
    Look, I'm able to perform the local syntax check of these statements, but the problem is when I want to Build my project.

    I know that using CICS('CTSxx') as a compile Option, the syntax check performs ok, but this is not valid for building.

    I need to build my application, so if you can still help me I'd appreciate it.

    Is this possible?

    Thanks, Juan cruz
  • gogol
    gogol
    86 Posts

    Re: Invalid option 'NUMITEMS'

    ‏2011-12-23T11:21:22Z  
    Hi Gary,
    Look, I'm able to perform the local syntax check of these statements, but the problem is when I want to Build my project.

    I know that using CICS('CTSxx') as a compile Option, the syntax check performs ok, but this is not valid for building.

    I need to build my application, so if you can still help me I'd appreciate it.

    Is this possible?

    Thanks, Juan cruz
    > I know that using CICS('CTSxx') as a compile Option, the syntax check performs ok, but this is not valid for building.
    >
    > I need to build my application, so if you can still help me I'd appreciate it.

    I'm assuming you are trying to build your application in the local TXSeries environment.
    As already pointed out in the earlier replies,
    NUMITEMS is not a valid option in TXSeries, that is the reason you
    are getting build errors.

    If your application is intended to be running on CICS-TS you should
    build it on that, and not locally on TXSeries. (however you can use RDz for local
    syntax checking).

    If you are looking for writing and deploying the application on TXSeries,
    you should use only the TXSeries supported APIs and options.
    (and do not do syntax check using CICS('CTSxx') options, as
    these as specific for syntax checking (only) for CICS-TS version xx applications.)

    HTH