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
 
Translator Option SP?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
John Poulakos

New User


Joined: 13 Jun 2012
Posts: 89
Location: United States

PostPosted: Sat Oct 13, 2018 12:59 am    Post subject: Translator Option SP?
Reply with quote

I'm not sure if this belongs here, but it's worth a shot. I have a CICS COBOL program that issues an EXEC CICS INQUIRE command. According to the documents I read, this requires translator option SP. But I don't know how I am supposed to specify it. Here are my options and the first error message:

Invocation parameters:
LIB,NODBCS,CICS,LIST,MAP,RENT,S,NOSSR,SP,TRUNC(BIN),X(SHORT)

IGYOS4003-E Invalid option "SP" was found and discarded.

And at the end of the compile listing:

IGYPS0210-S DFH7262I S TRANSLATOR OPTION 'SP' REQUIRED BUT NOT SPECIFIED.

I'm confused. But, at least I always have something unusual to entertain myself with.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8410
Location: Dubuque, Iowa, USA

PostPosted: Sat Oct 13, 2018 1:38 am    Post subject: Reply to: Translator Option SP?
Reply with quote

SP is a CICS translator option. You need to use the translator, then compile the translated code through the COBOL compiler. Using the integrated CICS translator in the COBOL compiler obviously didn't work.

You might be able to use CBL CICS("SP") as a PROCESS (CBL) option but I've never tried that so I don't know for sure if it works.
Back to top
View user's profile Send private message
John Poulakos

New User


Joined: 13 Jun 2012
Posts: 89
Location: United States

PostPosted: Sat Oct 13, 2018 2:18 am    Post subject:
Reply with quote

Thanks Robert,

But, just in case anyone is interested, I figured it out. I had to use an OPTFILE with these values:
APOST
LIB
TRUNC(OPT)
CICS('COBOL3,SP')
NODYNAM
RENT
LIST
MAP
XREF
OPT
They are in this file: XXXX.PARM.LIB.TEST(COBOL)

My compile proc needed these changes:
//COB2 EXEC PGM=IGYCRCTL,REGION=0M,PARM=(OPTFILE)
//SYSOPTF DD DISP=SHR,DSN=XXXX.PARM.LIB.TEST(COBOL)

Note: I don't think the COBOL3 specification matters much.

I am writing a web service that will allow a user to reset their CICS terminal using their user ID. So far, so good.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8410
Location: Dubuque, Iowa, USA

PostPosted: Sat Oct 13, 2018 2:20 am    Post subject:
Reply with quote

Glad to hear you got it working!
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am

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