Browse all forums dedicated to the Rocket Mainframe DevOps product family.
Recently active
TL;DR: Is there a way to properly encode received bytes using EBCDIC ? Hello, while working with sockets I noticed that python always expects and EBCDIC string. I have currently been able to get a Python client-server configuration (Linux client, z/OS server) to communicate by forcing the client to use ‘cp500’ encoding, but I haven’t been able to do the same server-side (decoding Latin-1 to EBCDIC). This is what I tried up until now: >>> import codecs, sys >>> test = ‘\\x48\\x54\\x54\\x50’ >>> test.encode(‘cp500’) UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0x48 in position 0: ordinal not in range(128) I also tried by setting the default encoding to ‘cp500’ with: >>> reload(sys) >>> sys.setdefaultencoding(‘cp500’) >>> test.decode(‘Latin1’) u’\\x48\\x54\\x54&’ Still, without success. Any hints?
The following code gets an RC32. I can't figure out why, all the substitutions appear to be correct when I run a trace. Can anyone show me the error of my ways or another way to get the auditReturnCode in this V8.1.2 HLLX exit? If function = 'FREZ0101' then Do say " " say "------------------------------------------------------" say "Package Freeze HLLX call " say "------------------------------------------------------" say "Function : "function" "Date()" "Time() proceed = "YES" dataChanged = 'YES' /*****************************
Having installed Tool: make Version: 4.1 Build Number: 0002 now running make I get rubbish characters ./make /,�������+?��/����ˀ����������/>��>?�/,���%���?�>�����?��# Actually the output is ascii and when translated is: make: *** No targets specified and no makefile found. Stop. So it looks to me that make 4.1 is unusable. Or did I miss anything? – Manfred
I tried to use curl to call a REST API that returns a JSON payload. The response was not converted to EBCDIC. I tried with an XML response which was the same. I’m assuming that curl uses the MIME type to figure out what to convert. So any text/* MIME types get correctly converted. I would suggest application/json should also be converted which by the standard is UTF8 encoded. application/xml is different as XML can be in any encoding but I would take a punt and also convert it to EBCDIC.
PHP 5.4.4 Build Date Nov 21 2016 03:23:06 running on z/OS 2.2 under Apache V9. It seems that PHP does not take into account the she-bang on the first line when reporting the line number in error, therefore it is always one less than its actual location in the script. The following example code contains a syntax error on line 7: 000001 #!/path/to/php/php-cgi 000002 <?php 000003 000004 $v = “A value”; 000005 000006 // The following line contains a syntax error 000007 $a = arra(); 000008 000009 ?> When run in the browser the following message is displayed: Fatal error: Call to undefined function arra() in /my/cgi on line 6 Notice that the reported line number is “6” when the actual error occurs on source line “7”. If the same script is run using PHP 5.1.2 (previously supplied by IBM) then this message is displayed: Fatal error: HPH01209 Call to undefined function arra() in /my/cgi on line 7 Now the correct line number is displayed. I guess it’s debatable as to whether or not the she
Using Rocket PHP 5.4.4 Build Date Nov 21 2016 03:23:06 on a z/OS 2.2 system under Apache V9. The fopen() function can successfully process a local file but experiences an ABEND0C4 when attempting to process a URL (e.g. http://…). The following code is an example: $url=“http://www.rocketsoftware.com”; **$handle = fopen($url,“r”); ** **if($handle) { ** ** fclose($handle); ** ** echo “Successful fopen/fclose”; ** **} ** else ** ** echo “ERROR: Could not fopen file”; When this code is executed in a browser a 500 Internal Server Error page is displayed. The following message appears on SYSLOG: IEF450I PUBLIC STEP1 - ABEND=S0C4 U0000 REASON=00000004 The following messages appear in the Apache HTTP server error log: AH01215: CEE3204S The system detected a protection exception (System Completion Code=0C4).: AH01215: From entry point _php_stream_write_mvs at compile unit offset +000000C2 at entry offset +000000C2 at address: AH01215: 299AD60A.: End of script output before head
Status: Waiting for VotesWaiting for VotesSeveral groups within our company are tracking developer productivity to determine who are active developers and how often changes are committed. We would like data extracts to allow generation of data to be sent to our Application Development teams so the groups can track developer productivity. The intent is to track each time a developer changes a piece of code or migrates the code to production. The ideal data format would be XML with data similar to the ChangeMan activity logs that are part of the ChangeMan log/recovery processes.
I apologize, but I couldn´t find any jcl sample to run gzip in batch mode.
Hello, I’d like to install R packages I got from CRAN repository, for example, RJDBC. First, I tried to install rJava package because it is required for RJDBC. I get rJava_0.9-8.tar.gz from CRAN site and upload to z/OS USS. https://cran.r-project.org/web/packages/rJava/index.html And then I issued install command but failed. $ R -e 'install.packages(c("rJava_0.9-8.tar.gz"), repos = NULL, type="source")' R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: i370-ibm-openedition (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browse
Does anyone use Serena ChangeMan ZMF/Mainframe for the migration and installation of Informatica Power Exchange data? If not, have you ever in the past? Thanks in advance for any information that might be pertinent.#ChangeManZMF
I have registered to download bash but when I get the email it has the following verbiage instead of a download link. Any ideas? Best regards, Javier Chavez Get your Downloads Thank you for submitting your request to access Rocket z/OS Open Source Tools. Please click on the links below to access the tools. If you have any download problems, please visit the forum for z/OS Open Source page and search for your topic. Download , or access all z/OS Open Source Tools. Support For installation and general help, visit the Rocket Software forum for z/OS Open Source tools. For information on purchasing priority enterprise support for z/OS Open Source Tools, visit our pricing page. Rocket Software 77 Fourth Avenue Waltham, MA 02451 USA +1 781 577 4321 www.rocketsoftware.com info@rocketsoftware.com sales@rocketsoftware.com This email was sent to cjavier@us.ibm.com | Unsubscribe from all Rocket marketing communications | Manage your email preferences © 1990-2016 Rocket Software, Inc. (Rocket). Roc
I’m trying to set up a CVS server on our mainframe to be used as the code repository for Eclipse (Running on Windows). After mucking about with the inetd.conf, we got it going, but when I try to connect from the PC I get the following message: cvs [login aborted]: dbg: res = -1, pccsid = 819, fccsid = 1047, Any help would be appreciated. One final question: Is anyone else using CVS to manage the code repository for eclipse developers, who are running on the PC (ie ASCII) platform.
Hello, I installed R 3.3.1 on z/OS V2.1. After configuration I tried to run a simple script like following. I create hello.R file including just following code. hello.R print("Hello World") I can run this script from R console. $ cat hello.R print("Hello World") $ R -e 'source("hello.R")' R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: i370-ibm-openedition (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > source("hello.R") [1] "Hello World" > It was successfully complete
After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R. bash-4.2$ R /mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory. ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found We are running z/OS 2.1. Thanks.
When invoking bash as an interpreter, it is converting the .bashrc characters before trying to execute the commands inside. This does not occur with bash 4.2.53. 4.3.46 startup: $ ./ported/bin/bash --version GNU bash, version 4.3.46(6)-release (i370-ibm-openedition) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ ./ported/bin/bash bash:$'\\205\\247\\227\\226\\231\\243@\\327\\301\\343\\310~\\241a\\202\\211\\225z[\\327\\301\\343\\310\\025\\205\\247\\227\\226\\231\\243@\\324\\301\\325\\327\\301\\343\\310~\\241a\\224\\201\\225z[\\324\\301\\325\\327\\301\\343\\310\\025\\205\\247\\227\\226\\231\\243@\\327\\350\\343\\310\\326\\325\\310\\326\\324\\305~\\241a\\202\\211\\225\\025\\205\\247\\227\\226\\231\\243@\\327\\350\\343\\310\\326\\325\\327\\301\\343\\310~\\241a\\223\\211\\202a\\227\\2
Hi, I am struggling embedding TCL in a C application. It looks like the provided library is built with the XPLINK option. When I compile my very simple program using xlc under z/OS 2.1 xlc -W c,XPLINK -W l,XPLINK -I ./include -L ./lib -o tclembed tclembed.c -ltcl8.5 I get the following binder error messages: IEW2456E 9207 SYMBOL _ctype_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. NAME SPACE = 3 IEW2456E 9207 SYMBOL _tolower_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. NAME SPACE = 3 IEW2456E 9207 SYMBOL __read_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL __write_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL __gethostbyname_OE_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL __gethostbyaddr_OE_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRAR
Status: DeliveredDeliveredupdate option menu 8 HLL Exits High level language exits to have options for reload, detach and attachadd selection options from 8 HLL Exits High level language exits to allow global admins a option selection for performing commands for reload, detach and attach that are now needed to be performed at console /F zmfstcname,CMN,RELOAD,HLLX /F zmfstcname,CMN,ATTACH,HLLX /F zmfstcname,CMN,DETACH,HLLX
I am looking for code samples of how to work with MVS datasets and members and other z/OS specific tasks that have been already accomplished with Python. Thanks
Status: Waiting for VotesWaiting for VotesZDD doesn't support 'component change description' when staging versions are enabledWhen a component is unlocked after editing, and when staging versions are enabled, there is no windows where we can provide a component change description. This is a missing feature in ZDD. One could consider this to be a bug, as we can view the satging versions in the interface so the change description should be made vailable to be updated
Git 2.3.5 for z/OS has been released for general availability. It has not yet appeared on Rocket’s public download page but you can access it and its prerequisite installs via these links: README.ZOS Release notes for Git 2.3.5 for zOS.pdf git 2.3.5 bash 4.3 perl 5.24 unzip 6.0 gzip 1.6
Hello, folks… I have downloaded Bash 4.2.53 from Rocket Software site for installation in a z/OS V2R2 environment. The download was successful and the file downloaded was “bash-4.2_b0005.160513.tar.gz”. However, when I upload (in binary mode) to z/OS’s USS and try to “tar” it (tar zxvf bash-4.2_b0005.160513.tar.gz) I receive an error message indicating that the file is not in compressed format. I haven’t found any clue in this forum… Can you please help me with this issue? An additional detail: I discovered a link to the theoretically newer file “bash-4.3_b0008.160714.tar.gz” but the same error occurs. Thank you very much and best regards. Gustavo Lozano IBM Brazil
Did any tried running RocketPerl with Tomcat in USS (z/OS 2.1) ? I did not find any evidence about it on the net (internet).
The first beta release of z/OS git has been out for five weeks now and has proved extremely stable. Only two bugs reported with about a dozen users. The second beta adds support for git archive facility and the perl-dependent features such as interactive command options. The second beta is now in internal test and will be available in 5 to 10 days. Reply to this post if you are interested in trying out git for z/OS. Best, -Peter
Using curl 7.42.1 (i370-ibm-openedition) through a firewall with an HTTP proxy like: http_proxy=http://redacted.com:80 ALL_PROXY="$http_proxy" export http_proxy ALL_PROXY trying to fetch: tp://service.boulder.ibm.com/s390/holddata/month.txt I get a strange behavior such that the first few thousand bytes of the file when translated from EBCDIC to ASCII (that’s right!) appear as EBCDIC. The rest of the file is proper EBCDIC. curl -q 'ftp://service.boulder.ibm.com/s390/holddata/month.txt;type=I’ curl -q 'ftp://service.boulder.ibm.com/s390/holddata/month.txt;type=A’ produce identical bad results. – gil
I had a minor stumbling block with the git beta I’d like to share The README.ZOS says to turn on some ASCII auto-conversion, but if you have never ssh’ed to your git repo before, the ebcdic ssh client will run w/ the auto-convert environment and mess up the interactive output and not take your ebcdic input (if you type ‘y’ and guess when you see the garbled interactive msg) Obvious workaround is one-time ssh w/o the auto convert environment variables. Medium term, it might make sense to have an ssh wrapper that unsets that stuff when it’s called from git.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.