Re: SQLCODE=-904 during RUN

2016-11-04 Thread Janet Graff
>Dropping any table required by a package will invalidate that package. And >creating a new table, even if it has the same name, will not right your >>package, because that new table is a _different_ object. >Why not simply TRUNCATE your tables if you want to empty them out before your >test

Re: SQLCODE=-904 during RUN

2016-11-04 Thread Janet Graff
>HI Janet, >I noticed that the bind is binding DALLASA.DB2ZP.ZPDB2 >but the error is for DB2ZP.ZPDB2.1A320A2A009C519E. >It looks like a mis-match between local and remote versions of the package. >Regards, > Ron I've been looking for a way to have both the BIND and the RUN

Re: SQLCODE=-904 during RUN

2016-11-02 Thread Janet Graff
>I am not getting the DROP/CREATE table part here... Are these the tables that >are used in your program? Because if they are, then dropping them >will >invalidate all packages accessing them. And re-creating the tables will *not* >rebind your packages. After all, even if they have the same

Re: SQLCODE=-904 during RUN

2016-11-02 Thread Janet Graff
>HI Janet, >I noticed that the bind is binding DALLASA.DB2ZP.ZPDB2 >but the error is for DB2ZP.ZPDB2.1A320A2A009C519E. > >It looks like a mis-match between local and remote versions of the package. > >Regards, > Ron Ron, What step do I fix that on and what keyword do I specify?

Re: SQLCODE=-904 during RUN

2016-11-01 Thread Janet Graff
>On Fri, 28 Oct 2016 18:12:01 -0500, Janet Graff <janet.gr...@yahoo.com> wrote: >>I have the program pre-compile, compile, pre-linking, linking and binding all >>with return code zeros. >Can we see the JCL, or better still, the entire job log? ... >Jantje. Here

Re: SQLCODE=-904 during RUN

2016-10-31 Thread Janet Graff
>On Fri, 28 Oct 2016 18:12:01 -0500, Janet Graff <janet.gr...@yahoo.com> wrote: >>I have the program pre-compile, compile, pre-linking, linking and binding all >>with return code zeros. >Can we see the JCL, or better still, the entire job log? >> >>But when

SQLCODE=-904 during RUN

2016-10-28 Thread Janet Graff
I have written a simple DB2 program that I'd like to run from Batch. I'm on IBM's Dallas service so I have a limited access to certain datasets. I have the program pre-compile, compile, pre-linking, linking and binding all with return code zeros. But when I try to RUN I get a -904 indicating

Re: Changing the primary AUTHID using RACROUTE

2016-10-13 Thread Janet Graff
>For simplicity and safety,you could attach a subtask, and do the VERIFY (and >the cross-memory call) from that subtask. Then, on the VERIFY, if you >omit >the ACEE parameter RACF will (as documented in the RACROUTE book) put the ACEE >address into TCBSENV for you. If the cross-memory server

Re: Changing the primary AUTHID using RACROUTE

2016-10-13 Thread Janet Graff
>I'm afraid we still don't know enough about how your cross-memory server is >operating. In an earlier post you implied that it will choose whether to >use >the primary or secondary ID. How does it make that choice? And how does it >find both of them. >If you change ASXBSENV you are changing

Re: Changing the primary AUTHID using RACROUTE

2016-10-12 Thread Janet Graff
>>Put the address of the new ACEE in ASCBSENV and/or TCBSENV as appropriate? >>J R >I think it's ASXBSENV. >For my test application TCBSENV is 0. >I get a S0C4 when I do attempt to replace ASXBSENV despite being authorized >and in supervisor mode. It feels like there is a RACROUTE macro or

Re: Changing the primary AUTHID using RACROUTE

2016-10-12 Thread Janet Graff
>Put the address of the new ACEE in ASCBSENV and/or TCBSENV as appropriate? >J R I think it's ASXBSENV. For my test application TCBSENV is 0. I get a S0C4 when I do attempt to replace ASXBSENV despite being authorized and in supervisor mode. It feels like there is a RACROUTE macro or

Re: Changing the primary AUTHID using RACROUTE

2016-10-12 Thread Janet Graff
>Thanks for the info. It helps a bit, but not enough. >First, just to make sure you know, you can't do a RACROUTE REQUEST=VERIFY >while running in cross-memory mode. You would need to create a >request for >another task running in your server primary, queue the request to the task, >and

Re: Changing the primary AUTHID using RACROUTE

2016-10-12 Thread Janet Graff
>It would help to know why you want to do that, and what you intend to do after >you have the ACEE. It's possible that there are alternatives that >would be >better, which we might recommend if we had some more information. >However, you don't _need_ a TERMID unless you're doing a RACROUTE

Re: Changing the primary AUTHID using RACROUTE

2016-10-12 Thread Janet Graff
>From your current ACEE? >http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ichb200/ich2b2_ACEE_and_related_control_blocks.htm > >52 (34) ADDRESS 4 ACEETRMP Address that points to the terminal ID. The field is >zero for non-terminal users. >Charles Yes, the Batch job is

Changing the primary AUTHID using RACROUTE

2016-10-12 Thread Janet Graff
I have an application and I want to change the the userid. I have the RACF macros coded but I'm having trouble coming up with the source of TERMID. Where do I get the TERMID? The code in question looks like this: MODESET MODE=SUP LAR7,RACFWORK MVC

Re: Dump in 64 bit mode "Storage around GPR2 is invalid."

2016-08-29 Thread Janet Graff
Charles, It doesn't appear that the register conventions for XPLINK and non-XPLINK are compatible. If one were marketing an Assembler API would you have to deliver two versions? One XPLINK and one non-XPLINK? Janet >@Janet, it occurred to me that you are talking about both C and "XGR." That

Re: Dump in 64 bit mode "Storage around GPR2 is invalid."

2016-08-25 Thread Janet Graff
Thanks Charles! >Why are you using the AIX compiler reference? There is a z/OS compiler >reference manual, you know. Covers USS as well as legacy MVS. >http://www-01.ibm.com/support/docview.wss?uid=swg27036892 >Charles -- For

Re: Dump in 64 bit mode "Storage around GPR2 is invalid."

2016-08-25 Thread Janet Graff
I don't know if I'm XPLINK or standard linkage. I'm using the following command to link xlc -o MY64.exe -q64 VSHVOLTG.o VSHVOLT.o VSHMSG.o MY64.o where would I look to see if XPLINK is turned on? How would I turn it off? I can't find XPLINK mentioned in the Compiler Reference V10.1 IBM XL C

Re: Dump in 64 bit mode "Storage around GPR2 is invalid."

2016-08-25 Thread Janet Graff
Here's an example Parameters, Registers, and Variables for Active Routines: main (DSA address 0048082FEA20): DOWNSTACK DSA Saved Registers:

Dump in 64 bit mode "Storage around GPR2 is invalid."

2016-08-24 Thread Janet Graff
When I get a CEEDUMP while running in 64 bit mode some of the register summary shows things like "GPR2. ". Why does this happen and how do I get the value of the register? Janet -- For IBM-MAIN subscribe

Re: Loading Java dump into IPCS

2016-08-23 Thread Janet Graff
Thanks Eileen! Janet > -X options would probably go into the the STDENV IBM_JAVA_OPTIONS parm >Eileen -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message:

Re: Loading Java dump into IPCS

2016-08-22 Thread Janet Graff
When running from the USS command line I can specifiy -Xdump:none and suppress the Java dumps and traces. Then if I get an abend I get the CEEDUMP which is much more useful. Where do I specify -Xdump:none in the EXEC=JVMLDM66 JCL? Does it go in the STDENV or is it an argument? Janet

Re: Loading Java dump into IPCS

2016-08-22 Thread Janet Graff
Aha! I found an operator message with an MVS file name that I could load into IPCS. It doesn't have an abend summary though. Can someone point me to a manual on how to read a JVM dump? Janet -- For IBM-MAIN subscribe /

Loading Java dump into IPCS

2016-08-22 Thread Janet Graff
I abended a Java/JNI/Assembler program and it generated a few output files. They are named - Snap.20160822.132237.65637.0003.trc - javacore.20160822.132237.65637.0002.txt The Snap looks like an IPCS Snap trace but I don't know how to load the dump into IPCS. It doesn't appear to take USS

Re: JZOS calling a 64 bit class

2016-08-18 Thread Janet Graff
Kirk, Wonderful! It JVMLDM66 is indeed in the mvstools directory. Thank you! That will save me time! Janet >You say that you have the Unix directory for the 64-bit SDK, so depending >on how it was installed you may also have the JVMLDMx6 module in the >"mvstools" subdirectory. >You can use

Re: JZOS calling a 64 bit class

2016-08-18 Thread Janet Graff
The class libraries were successfully created with the 64 bit Java libraries on the USS side. When run they report the bitmode as 64 bit and load the appropriate .so library containing my 64 bit JNI code. I can run the class from the USS prompt but I can't run it from batch using JVMLDM*

Re: JZOS calling a 64 bit class

2016-08-17 Thread Janet Graff
Edward, Thank you! My STEPLIB only contains JVMLDM60 so I'll get with the sysprogs to get the 64 bit version installed. Thanks! Janet >On 8/17/2016 4:42 PM, Janet Graff wrote: >> JAVAJVM EXEC PGM=JVMLDM60 >When you run a 64-bit JVM, the JZOS launcher name must end with six >

Re: JZOS calling a 64 bit class

2016-08-17 Thread Janet Graff
JAVAJVM EXEC PGM=JVMLDM60 >What program name are you invoking on EXEC PGM= ? >-- >Edward E Jaffe -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO

JZOS calling a 64 bit class

2016-08-17 Thread Janet Graff
I have Batch JCL to call the JVM to invoke 31 bit java classes. I have generated the 64 bit version of the java classes and I'm trying to convert my JCL to invoke the 64 bit class. I am getting this error CEE3588S A call was made to a function in the AMODE 64 DLL libjvm.so from an AMODE 31

Re: C/C++ maximum number of arguments on a function prototype

2016-08-12 Thread Janet Graff
z/OS 2.1 - V1.12 z/OS XL C Janet >What version of the compiler are you running? >What OS and OS Level? >Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with

C/C++ maximum number of arguments on a function prototype

2016-08-12 Thread Janet Graff
Is there a maximum number of arguments on a function/function prototype? I am getting a CCN3099 on the 276th parameter of a function that crazily takes 303 parameters. I don't see anything wrong but I wonder if the compiler just can't handle that many parameters? Janet

codepage restrictions on IBM applications

2016-07-25 Thread Janet Graff
I understand that IBM left it up to the product owners to decide what NLS support meant to their products. Can anyone give me information on how codepages are supported by some of the more popular products ( like DB2, IMS, CICS)? Since WTO is restricted to CP-37 displayable EBCDIC characters

Re: codepage restrictions on the system console

2016-07-25 Thread Janet Graff
John, Thanks, I looked up WTO and for the TEXT parameter it says "only standard printable EBCDIC characters are passed to MCS-managed display devices. " Not quite at the codepage level but good enough for me. Janet >On Mon, Jul 25, 2016 at 3:03 PM, Janet Graff < >004d

codepage restrictions on the system console

2016-07-25 Thread Janet Graff
I have a theory question rather than a how-to-implement question. Does anyone know what the codepage restrictions are on the system console? Can you have a French console and have messages containing letters with french accents? What about non-latin codepages? Can you have a Kanji, Katakana or

S0D6 RC=27 using Latches

2016-04-15 Thread Janet Graff
I have an application that is using latches. In general it appears to be working fine. The latch set is kept in an LE C global variable in a subroutine that is used to manage the locking functions. At some point in the code I rebuild a bunch of my data structures and (not the first after I

Re: JVM FindClass returning Null

2016-04-04 Thread Janet Graff
Ray, Thank you! I also figured out I wasn't in the working directory I thought I was in. The code now looks like this: chdir("/u/vendor/jig/DOMYAPI3"); dirPtr = getcwd(mydir,sizeof(mydir)); printf("current working directory is %s'\n", mydir);

Re: Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
This was the problem. Apparently I didn't need to specify a classpath. I changed the code to JNIEnv* create_vm(JavaVM **jvm) { JNIEnv* env; JavaVMInitArgs args;

Re: Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
Heres' the C source code calling JNI_CreateJavaVM that is getting the "Unable to Launch JVM -6". I pretty much copied it from various web pages on "how to call JNI from C". Why does the JNI_CreateJavaVM have a classpath? Isn't there one already specified in the _CEE_ENVFILE? Maybe I don't

Re: Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
clearly not as that constant isn't even defined in the jni.h. I'll stick with JNI_VERSION_1_6. Janet >ooh my JNI_CreateJavaVM has a options string. I'm currently passing >args.version = JNI_VERSION_1_6; >maybe that's was JNI_ENOINVAL? >How do I determine what the proper version is of

Re: Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
David, my _CEE_ENVFILE file contains export JAVA_HOME=/u/Java6_31/J6.0 I'm not sure if the export statement is necessary here. Janet >Do you need to set the JAVA_HOME environment variable to point to the JVM? -- For

Re: Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
ooh my JNI_CreateJavaVM has a options string. I'm currently passing args.version = JNI_VERSION_1_6; maybe that's was JNI_ENOINVAL? How do I determine what the proper version is of this call? Since my classpath has /u/Java6_31/J6.0... I'm assuming I'm running JNI_VERSION_6_31 but I've no

Re: Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
Frank, That's the right idea, unfortuantely it was the JNI_CreateJavaVM() invocation that got the JNI_EINVAL. So I'm lost how, on z/OS, to get the JNI_CreateJavaVM() call to work. Janet >Does this help? >http://www.developer.com/java/data/how-to-create-a-jvm-instance-in-jni.html

Re: Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
Frank, That was magnificent and got me past my problem. Unfortunately I now get "Unable to Launch JVM -6 ". Which I believe is JNI_EINVAL which I believe means the JVM isn't running. I've been googling around and I haven't found how to tell if the JVM is running on z/OS. When I installed

Running an MVS executable using a .so library

2016-03-30 Thread Janet Graff
I am writing a C program to invoke the JVM to call an existing JNI package. I have the program compiled and linked but I am having trouble getting libjvm.so loaded at run time. Is this the right STEPLIB? ISTR that mixing MVS and USS files on a DD allocation is not allowed but I'm not sure

Re: Resolving JNI_CreateJavaVM

2016-03-30 Thread Janet Graff
It turns out I was missing the DLL option on the compile step. Thanks for everyone's help! Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO

Re: Resolving JNI_CreateJavaVM

2016-03-24 Thread Janet Graff
I switched to LIST(IMP) >Try running LIST(IMP) to see that the binder is reading the side deck >correctly. z/OS V1 R12 BINDER 13:45:21 THURSDAY MARCH 24, 2016 BATCH EMULATOR JOB(JIGJAVA ) STEP(LKED) PGM= IEWBLINK IEW2278I B352 INVOCATION

Re: Resolving JNI_CreateJavaVM

2016-03-24 Thread Janet Graff
Frank, I added CASE(MIXED) but got the same result IEW2278I B352 INVOCATION PARAMETERS - LIST(NOIMP),AMODE=31,MAP,RENT,DYNAM(DLL),CASE(MIXED) IEW2322I 1220 1INCLUDE'/u/Java6_31/J6.0/bin/j9vm/libjvm.x' IEW2322I 1220 160INCLUDE OBJECT

Re: Resolving JNI_CreateJavaVM

2016-03-24 Thread Janet Graff
Thanks Don! I switched the SYSLIN to include the .x file //SYSLIN DD * INCLUDE '/u/Java6_31/J6.0/bin/j9vm/libjvm.x' INCLUDE OBJECT NAMECALLJAVA(R) //*

Re: Resolving JNI_CreateJavaVM

2016-03-24 Thread Janet Graff
Actually I've had the JNI code finished for a while. I'm trying to call the JNI Code from a C program at this point. Janet >It sounds like you're trying to build a JNI program that hasn't been ported >to z/OS rather than just writing new code. This can be very complex and you >should probably

Re: Resolving JNI_CreateJavaVM

2016-03-23 Thread Janet Graff
Don, That helped! I added //SIDEFILE DD PATH='/u/Java6_31/J6.0/bin/j9vm/libjvm.x', //PATHDISP=(KEEP,KEEP) //SYSLIN DD * INCLUDE '/u/Java6_31/J6.0/bin/j9vm/libjvm.so' INCLUDE OBJECT

Re: Rational Developer for z Systems and Java Maven integration

2016-03-23 Thread Janet Graff
What version of Rational Developer for z/OS do you have. Mine doesn't have a Maven plugin. Or alternatively, where do you get the Maven plugin for Rational Developer for z/OS? Janet >I use RDz and I just installed the maven plugin. Works great. >David

Resolving JNI_CreateJavaVM

2016-03-23 Thread Janet Graff
I am writing an application in C that calls Java methods. I have followed the instructions for load the library and gaining access to the methods and this is all compiling great. I need help on the link. What library would JNI_CreateJavaVM be in? It seems like it would be in a C library

Rational Developer for z Systems and Java Maven integration

2016-03-22 Thread Janet Graff
I want to build a java package on the mainframe. The code comes supplied with a maven build. I have Rational Developer 9.5.1. This page says Rational Developer has maven support, http://www.ibm.com/developerworks/rational/library/rational-ide-v9/ as of V9. Is this only for Windows and

Re: Resolving Java import statements

2016-03-19 Thread Janet Graff
Andrew, Yes! that fixed it. I knew if I had it in a script I'd need that. I didn't realize doing this from the command line would require the export command. Thank you! Janet >You probably need to export the CLASSPATH definition: >export

Re: Resolving Java import statements

2016-03-15 Thread Janet Graff
Andrew, Thank you all so much for your help. I searched for commons-logging*.jar and found several copies. I tried the following in the directory with the .java file CLASSPATH=/usr/lpp/zWebSphere/V7R0/optionalLibraries/Apache/Struts/1.1/commons-logging.jar javac RemoteServer.java which

Re: Resolving Java import statements

2016-03-15 Thread Janet Graff
Janet Graff wrote: > I set my CLASSPATH to one of the directories (the last as it happens) > > CLASSPATH=/usr/lpp/zWebSphere_OM/V7R0/FPW20M/web2mobilefep_1.1/optionalLibraries/jaxrs_1.X jars themselves don't get added to classpath by their dir being added to classpath Jac

Re: Resolving Java import statements

2016-03-15 Thread Janet Graff
I searched for the commons-code*.class files and didn't find them. Does WebSphere and/or Rational Developer not provide the class files for these common java routines? Janet >Hi Janet, >yes the individual jars need to be on the classpath. The directory only works >if the individual *.class

Re: Resolving Java import statements

2016-03-15 Thread Janet Graff
Sorry Jack, not following the intent. Are you saying I need to add the individual jar files to the CLASSPATH definition? The CLASSPATH does have the directory containing the required jar file. Janet >Jack J. Woehr wrote: >> for jar in /somedir/*.jar >>do >> export

RobotFramework Java XML-RPC server

2016-03-15 Thread Janet Graff
I need to run the Java XML-RPC server on z/OS to support a windows based RobotFramework testing of my z/OS system. I have downloaded jrobotremoteserver-3.0-standalone.jar. I understand that I'll most likely have to update it to do the ASCII/EBCDIC translations on the HTTP sends and receives.

What STOGROUP does a table belong to

2016-02-11 Thread Janet Graff
I've been combing through the SYSIBM tables looking for this answer. I need to figure out what STOGROUP my tables belong to. I realize SYSTABLES has TSNAME to tell me what TABLESPACE the table belongs to. But I can't get from TABLESPACE to STOGROUP. How do I figure out what STOGROUP my

Re: What STOGROUP does a table belong to

2016-02-11 Thread Janet Graff
Thanks Jan! I'll look into that. Janet >I think the column STORNAME in SYSTABLEPART is what you're looking for. This >also implies that an entire tablespace doesn't necessarily reside in a >single >storage group. >Regards, >Jan

Re: memory leak doing gsk_environment_open()

2016-02-04 Thread Janet Graff
That was an awesome suggestion! I am having a great time going through my code and finding a couple of leaks. I do note that I have several leaks on setlocale(). It's only 828 bytes but since I call it once per thread it might add up. I have another leak on dllinit() for 155CC0 bytes Does

memory leak doing gsk_environment_open()

2016-02-02 Thread Janet Graff
I have a long running STC that does an HTTP sequence using secure sockets. I can monitor the memory usage throughout my calls. I note that my above the line storage shows a 1M increase after the gsk_environement_open(). That memory is not freed after the gsk_environment_shutdown(),

Re: memory leak doing gsk_environment_open()

2016-02-02 Thread Janet Graff
I have run RPTSTG on the application several times in the past and tuned things. I can do this again. However I can see this leak every time I run through an HTTP creation of socket, request, and socket termination. Which is what makes me believe that either the memory isn't cleaned up or

SRB Mode and C functions

2016-01-22 Thread Janet Graff
We recently found that a pthread_mutex_lock() issues an SVC under the covers which causes our code in SRB Mode to abend with a S0F8-004. Does anyone have a list of C functions (POSIX as well as stdlib) that are illegal in SRB Mode? Thanks! Janet

Re: SMFxTME field

2016-01-08 Thread Janet Graff
Sorry, I don't see how to quote a prior message. This is what worked for me from Charles. "Divide by 100 -- remainder is hundredths of a second. Divide quotient by 60 -- remainder is seconds. Divide quotient by 60 -- remainder is minutes. Quotient is hours (24 hour clock). SMFxxDTE is in an

Re: SMFxTME field

2016-01-07 Thread Janet Graff
That worked. Now I have the time formatted very nicely. Thank you! Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: SMFxTME field

2016-01-05 Thread Janet Graff
What macro would we use to convert TIME BIN to a readable DATE TIME? It doesn't look like STCKCONV to CONVTOD take input of a 32-bit unsigned binary. Janet -- For IBM-MAIN subscribe / signoff / archive access instructions,

Re: PL/I and optional parameters

2015-11-02 Thread Janet Graff
Jon, Is there a way to keep the type checking on the required parameters and also allow the trailing parameters to not be specified? The type checking is extremely useful to my customers and I'd hate to lose it completely. I'd prefer some syntax where I can say 99(char (*) optional, char

BIND PACKAGE running application with FIELDPROC

2015-11-02 Thread Janet Graff
When executing a BIND PACKAGE against a program that performs Inserts into a table where the columns are defined with FIELDPROC. The program is run. I don't see an option on the BIND PACKAGE for this and the detail information about when a FIELDPROC is run does not include BIND time. What am

PL/I and optional parameters

2015-10-27 Thread Janet Graff
I have a PL/I subroutine call that has 297 optional parameters. That is the function has a parameter list with up to 100 tuples of parameters. The first tuple is required, and tuple 2 through 100 are optional. In C the function signature looks like this int myFunc( int *numDescriptorEntries,

Re: AMASPZAP to C main marked as $private

2015-09-09 Thread Janet Graff
I found the solution. The C Compile parameter NOCSECT was turned on. Using CSECT named the CSECT which allows me to zap it. Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: AMASPZAP to C main marked as $private

2015-09-09 Thread Janet Graff
NAME TESTDCAL * C_CODE VER 01DE 5820,3208 AMA106I ATTEMPTING TO VER/REP OUTSIDE LIMITS OF SECTION You can't zap a module using a CSECT of *. * is a generic CSECT indicator and there are multiple CSECTS in the load module.

AMASPZAP to C main marked as $private

2015-09-08 Thread Janet Graff
I'm trying to create a zap for a C main. The binder has designated the C main is in a $private code. What's the AMASPZAP NAME card for private code? Alternatively can I force a name on the CSECT? Here's the link map output from the binder OFFSET OFFSET NAMETYPE

Re: AMASPZAP to C main marked as $private

2015-09-08 Thread Janet Graff
AMBLIST says that the Control Section is $PRIV10. Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: AMASPZAP to C main marked as $private

2015-09-08 Thread Janet Graff
A DUMPT of the module of all the C_CODE CSECTSs shows the CSECT I want as **RECORD LENGTH: 04C0 CLASS: C_CODE MEMBER NAME: TESTDCAL CSECT NAME: $PRIVATE CODE F2F0 F1F5 F0F9 F0F8 F1F4 F0F4 F3F5 F0F1 F1F2

Re: Python FTP binary object file upload

2015-06-24 Thread Janet Graff
Sadly, python rejected the quote prefix for the site command. *cmd* 'QUOTE SITE RECFM=FM LRECL=80 BLKSIZE=3200' *put* 'QUOTE SITE RECFM=FM LRECL=80 BLKSIZE=3200'\r\n *get* '500 unknown command QUOTE' *resp* '500 unkown command QUOTE' Janet

Python FTP binary object file upload

2015-06-24 Thread Janet Graff
I am using a cross compiler to produce Object files on Windows.My automation uses OOREXX to upload the files via FTP to z/OS to an object PDS.I am upgrading my automation to be run by RobotFramework using Python and I am having trouble converting the OOREXX to use the Python ftplib storbinary. 

Re: Python FTP binary object file upload

2015-06-24 Thread Janet Graff
John I am ftp.sendcmd('SITE RECFM=FB LRECL=80 BLKSIZE=3200') I just looked back at my original post and I apologize that the formatting is so messed up. I'll try again and see if it looks better -- My python looks like this (leaving out the error handling and the local file opening)

Re: Python FTP binary object file upload

2015-06-24 Thread Janet Graff
John, Fantastic! That fixed the problem. I was opening the local file with 'r'. When I switched to 'rb' it was fixed. Thank you! Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: STCK question

2015-06-12 Thread Janet Graff
As these things go, I have found new uses for my little routine. It's strong enough to find the elapsed time for larger numbers than I intended. So much so, I thought I'd add a function to show the elapsed time since the beginning of my started task. The time is working wonderfully but when

Re: STCK question

2015-06-11 Thread Janet Graff
Ooh I am liking the ED instruction. But I'm missing something. My pattern is this =XL15'20207A20207A20204B202020202020' My data is this =XL8'00308208' And the result I'm getting is this ' 308208' What I want is this ' 0.308208' What can I do to the pattern mask to

Re: STCK question

2015-06-11 Thread Janet Graff
Thank you Charles, both were excellent suggestions that worked wonderfully! Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: STCK question

2015-06-09 Thread Janet Graff
Thanks for everyone's suggestions! I did ask for formatting so the output looks like time but I think the decimal output will be useful as well. Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send

STCK question

2015-06-08 Thread Janet Graff
I need my product to report on the amount of clock time aprocedure took.  I have captured the STCK before and after theprocedure.  The procedures take very little time and I want to show theelapsed time to the end user.   As two examples   Start Time CF115F56BCCEB945 End Time  CF115F57

Steps for diagnosing a S378

2015-04-29 Thread Janet Graff
?   Janet Graff -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Steps for diagnosing a S378

2015-04-29 Thread Janet Graff
I've asked the customer to send me an IPCS SYSMDUMP. I will try all these suggestions when I get it. Once I find which STORAGE RELEASE is causing the abend is there an easy way to tell what address was being released? Would I have the registers at the time of the STORAGE RELEASE? Janet

Re: _FEEDBACK tok_isi interpretation

2015-02-25 Thread Janet Graff
I thank Tony and Lizette. Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: _FEEDBACK tok_isi interpretation

2015-02-25 Thread Janet Graff
My apologies. I'm not trying to solve the U121. I generated that on purpose. I'm working on writing a robust abend handler. It's reporting S0C4 abends nicely but this User abend is coming out as a CEE3250C. Janet -- For

Re: _FEEDBACK tok_isi interpretation

2015-02-25 Thread Janet Graff
Thanks! I will look into that. Janet -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

_FEEDBACK tok_isi interpretation

2015-02-24 Thread Janet Graff
I have an abend handler that is catching a U121 abend. The LE Abend Handler is telling me that the facility_id is CEE and the tok_msgno is 3250 giving me CEE3250C The system or user abend abend-code was issued. abend-code in the message description is in italics in the LE Run-time Messages

Re: CEE3SRP/CEEMRCE example in LE C?

2015-02-24 Thread Janet Graff
thank Charles. I have various other LE calls working but I was off an addressing level of the parameters to CEE3SRP and CEEMRCE and a C example would have helped tremendously. I'm pretty sure I have it with: /* my structure that I want to pass back and forth between main line and abend

Re: SMFxTME field

2015-02-23 Thread Janet Graff
Thank you to everyone for your help. It turns out my content was correct but my timing was off. I was filling in the SMFxTME with the correct Time component of TIME BIN but I was doing it when my server started. I need to change my code to fill in the SMFxTME with the correct Time component

CEE3SRP/CEEMRCE example in LE C?

2015-02-23 Thread Janet Graff
The LE Programming Guide has examples of using CEE3SRP and CEEMRCE in Cobol and PL/I. I have mine coded in C. Does anyone have a sample of calling for a resume in C that I can compare my attempt to? I've got something funky about my addressing. The proper token address is passed to the

SMFxTME field

2015-02-20 Thread Janet Graff
We just noticed our product was setting the SMFxTME field inappropriately using the TIME BIN macro. What should we be using to set the SMFxTME field? The doc says 06 06 SMFxTME4binary Time since midnight, in hundredths of

Re: Dynalloc with FREE=CLOSE,SPIN=UNALLOC

2014-09-08 Thread Janet Graff
I have it working now but I have to say, examples of calling dynalloc() from C code using text units is a decidedly badly documented interface. For anyone who attempts this in the future, here is a sample, this subroutine takes a char * containing the intended ddname like, DD:LOG01. It

Dynalloc with FREE=CLOSE,SPIN=UNALLOC

2014-09-05 Thread Janet Graff
=UNALLOC. I am currently using ip.__misc_flags = __RELEASE __CONTIG __CLOSE; but that leaves the DD associated with the running step and not purgable/deletable. Does anyone know whether dynalloc() supports FREE=CLOSE,SPIN=UNALLOC? Janet Graff

Re: using ./Configure to generate listing files

2013-11-05 Thread Janet Graff
Kirk, Yes! That excellent thread is what enabled me to get as far as I did and produce my needed libcrypto.a library. I've been through that thread multiple times in the last three weeks but I don't recall a discussion of changing the ./Configure settings to produce listing files for every

Re: using ./Configure to generate listing files

2013-11-05 Thread Janet Graff
Mike, This particular usage of openssl is specifically for the bignum support. AT-TLS is for the SSL support which we aren't using. Do you know of a bignum replacement for openssl for z/OS? Janet -- For IBM-MAIN subscribe /

Re: using ./Configure to generate listing files

2013-11-05 Thread Janet Graff
The -Wc,LIST(filename) option would work fine to indicate that I want a listing file. But without a file name it defaults to STDOUT. The specific filename doesn't adjust for different source code files. Is there a replacement variable for ./Configure that says use the source code file name

  1   2   >