Browse all forums dedicated to the Rocket Mainframe DevOps product family.
Recently active
I am trying to execute a simple python code on z/OS USS. The code was working fine until I added code to assign values to a dictionary. When I run my code, it displays unprintable characters in the output at the code location where I assign a value to the dictionary. ie., in line d[“Alias”] = line[0:4] It appears that square brackets ‘[’ are not valid. When I run the same code in my workstation using pycharm editor, it runs fine. So, I am not sure what the issue is. Can anyone help me to resolve this issue ? d = {} file1 = open(inp_file_path,“r”) line = file1.readline().strip() while line!="": d[“Alias”] = line[0:4] jsonstr = json.dumps(d) line = file1.readline.strip() file1.close() print(jsonstr) Here is the output in the job: File “/u/test/python/pyfilr.py”, line 15 dï…"Alias"ï… = lineï…0:4ï… ¬ SyntaxError: invalid syntax
Hello everyone, It seems that a same hllx exits is called for two different users actions. For example, exit BULD00XC (cmponent.checkin.service) have been activated in the Changeman administration menus, in order to run a customized Rexx program when the user do a right click->Checkin on a file in a package in ChangeMan explorer.But it appears that the HLLx is also called when the user has opened the file in edit mode and click on save.This runs the customized Rexx at an unwanted moment.Someone has already find a way to identify that the action is a checkin or a save or anything else? ThanksPascal#Other#ChangeManZMF#Announcement
Hi Everyone: I have been searching around the net and what I noticed is that there are Serena products with Jenkins plugin but did not find any for ChangeMan ZMF. Is Jenkins really not supported in ChangeMan ZMF? Use Case: We are looking at trying to trigger some other toolset (i.e SonarQube) after a successful compile in ZMF. Thank you. Regards, Darwin#ChangeManZMF
Hello everbody, We have thoughts about integrating Sonar in our build process. Is Serena working on a way to launch Jenkins or directly Sonar from Serena ZMF? thanks. Pascal#ChangeManZMF
Status: DeliveredIncluded in ZMF 8.3We need to have ability to upfdate some stage parms added to HLLX code to disable comparison reports Enable comparisonReport(BULDCMPR) & comparisonText(BULDCMPT) fields in BULD0101 exit. Certain fields like comparisonReport(BULDCMPR), comparisonText(BULDCMPT), componentListMode(BULDDMOD) can be modified only from exit BULD0x12. Please enable these options in BULD0101 exit for direct usage from stage primary panel. Example. In panel CMNSTG02 and CMNSTG01 we wanted to disable CMPRPT for select component types that will cause S0C4 errors due to record length. )PROC &PKGE = TRUNC(&PKGNAME,4) IF (&PKGE EQ 'PDBA') IF (&CMPTYPE EQ 'EXC','JOB','OBJ','UTL') &CMPRPT = 'NO' We would like the HLLX relagted to panels below to have adjustment for panel variables related to compare report. CMNCOMP1 PNLCMNSIDV1 PNLCMNSTG01 PNLCMNSTG02 PNL
downloaded both PHP packages and transferredd to our USS system using WinSCP as binary, but I can’t unzip either package: MCZ:/Rocket : gzip -d php-7.0.5_b012.170614.tar.gz gzip: php-7.0.5_b012.170614.tar.gz: not in gzip format MCZ:/Rocket : gunzip -d php-7.0.5_b012.170614.tar.gz gzip: php-7.0.5_b012.170614.tar.gz: not in gzip format MCZ:/Rocket : gunzip -d php-5.4.4_b0006.161122.tar.gz gzip: php-5.4.4_b0006.161122.tar.gz: not in gzip format Any suggestions anyone? Thanks, Steve
Apologies if there is an answer already in the other post about PHP not working - I looked and tried what I could to no avail. I’ve got Rocket PHP working from the shell, installed in /Rocket/php/ : MCZ:~/bin : ll /Rocket/php/bin total 107072 -rw-r--r-- 1 JOCS065 OMVSGRP 18140978 Jun 14 2017 php -rw-r--r-- 1 JOCS065 OMVSGRP 17977181 Jun 14 2017 php-cgi -rw-r--r-- 1 JOCS065 OMVSGRP 3837 Jun 14 2017 php-config -rw-r--r-- 1 JOCS065 OMVSGRP 68855 Sep 26 11:46 php.ini -rw-r--r-- 1 JOCS065 OMVSGRP 18517848 Jun 14 2017 phpdbg -rw-r--r-- 1 JOCS065 OMVSGRP 4544 Jun 14 2017 phpize MCZ:~/bin : ll total 34 -rwxr-xr-x 1 JOCS065 JOCS2 71 Sep 26 11:35 HelloWorld.php* -rwxr-xr-x 1 JOCS065 20 51 Mar 22 2019 HelloWorld.py* -rwxr-xr-x 1 JOCS065 JOCS2 278 Sep 25 11:20 unzip.sh* MCZ:~/bin : cat HelloWorld.php #!/Rocket/php/bin/php echo "Hello World!"; echo "PHP is so easy!"; MCZ:~/bin : ./HelloWorld.php Hello World! PHP is so
Hi, I’m a long-time z/OS sysprog, a fairly decent knowledge of Linux & USS (with shell scripting and Perl etc) but new to compiling open-source products from their source. I’d like to get the open source product Graphviz (www.graphviz.org) running under USS just so I can use it’s command-line facilities. Does anyone have any advice about how to start and would the Rocket tools Autoconf and Automake help? Thanks, Steve
Status: Already OfferedAlready OfferedCurrent ChangeMan functionality requires read, update access to the applciaiton while peforming admin functions. We would like the ability to perfrom global and local admin functions while having just 'read' access to the application.We are facing a requirement where the ChangeMan admins should not have read,update access to the applications. With this level of access the admin can create ChangeMan packages, checkout/change code, etc. It would with separation of duties to have 'read' access to the application and 'read,update' to the various admin resource rules. This would allow admin functions using non-privilege accounts and orevent udpate access to components within the applicaiotn.
When attempting to connect to a server using TLS we get UNKNOWN_PROTOCOL. We attempted to debug by issuing OPENSSL commands: openssl s_client -msg -connect :443 Message returned: wrong version number 343598475400:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:./ s3_pkt.c:365: Issued openssl version command: OpenSSL 1.0.2k 26 Jan 2017 I then confirmed that python is pointed to the same version OpenSSL 1.0.2k 26 Jan 2017 I’m not sure how to proceed in my setup.
Welcome to the community home of StarTool. This is the place to ask questions or start a discussion about the product. Please, don't be shy. Jump right in so we can start building the community knowledge pool for StarTool.#StarTool
Welcome to Comparex discussions. This is the place to ask questions or start a discussion topic about the Micro Focus Comparex product. This looks a little bare right now, but once people like you start participating here, it will start building the Comparex knowledge pool in this community. Please, don't be shy about posting.#Comparex
I have just installed your Python 2.7.6 under Z/os 2.1. So far so good. Do you have a couple of sample programs which show how to use the open() to read the three types of files available: 1) Z/os datasets, 2) USS files, 3) DDNAMEs? I am guessing that 3) can’t be done, but certainly 1) and 2) would be great! Thanks
We are installing PHP v.7.0.5 on zOS. The product files were received to USS and installation steps were performed. The bin PATH was setup pointing to 7.0.5 version, The problem is - when I tried to issue a command to check the version, it shows junk value. Any suggestions? $ export PATH=PATH:/usr/lpp/PHP/v7.0.5/bin export CGI_HEADER_ENCODING=EBCDIC export CGI_BODY_ENCODING=NONE php -v &ç&--------Ä%Ñ—ÂÍÑ%È–¢Í>---------------------+èë—ä?øÊÑÅÇÈ--Ä------------èÇ Á-&ç&-åÊ?Íø-!Á>À-á>ÅÑ>Á-Î-------ä?øÊÑÅÇÈ–Ä------------!Á>À-èÁÄÇ>?%?ÅÑÁË-$ Fyi… Same process was followed for v5.4 and it worked fine
Status: DeliveredDeliveredAs I wrote in the case this is not good enough.You can disable the build when save a component, but this will not make the build panel appear when the editor close.We need an option for "Launch Build after closing editor" so the Ctrl+S (Save) does not show the build panel.Users very often press Ctrl+S to save without wanting to build - it is just to be sure their work is saved. The "Launch Build after save" is OK to have too. With these two check- marks developers can make it work as they wish.In general my experience is that developers work differently and also depending of the project.This makes it essential that you do not decide how things should be done but make options in the product.
Has anyone had this issue where git diff does not show colors correctly? Clearly it’s trying to display the escape sequences but they aren’t coming out right. It works fine for git branch -v so just wondering if there is something I’m doing wrong.
Hi, How can I extract TextMark value using u2py? I got the values of a SVM with this sentence: total = s.args[0].extract(6,1,7).dcount(u2py.TM) But when I try to extract the info I got an error because the function only take 3 arguments: for x in range(1,total): print (s.args[0].extract(6,1,7,x)) ‘’’ Traceback (most recent call last): File “test.py”, line 46, in print (s.args[0].extract(6,1,7,1)) File “/dasm/bin/u2py.py”, line 163, in extract return DynArray(super().extract(*args, **kwargs)) TypeError: function takes at most 3 arguments (4 given) ‘’’ Does anyone knows how can I get the TM value in my for loop? I apreciate your comments. Regards, DASM
I am familiarizing myself with Rocket’s git port on z/OS and have a question relating to editing files that I have cloned. I am going to edit my cloned repo using ISPF option 3.17. However, every line in each of my files has a x’0D’ at the end of the line. This is a Line Feed character. The ISPF editor doesn’t really like embedded hex characters in source. You can’t insert code. When overtyping the cursor jumps over the hex character. There will be a number of other issues editing files using the ISPF editor that have embedded hex chars. Generally in ISPF Edit in 3.17 the editor treats files in a similar way to record based members in say 3.4. There are no x’0D’ appended. This may have an issue if the USS files are transferred somewhere else for processing but that is a different topic The only options I can see with my .gitattributes that relate to this area is to use *** text=auto eol=lf** to try and control the use of crlf. Now whilst I am also having problems with this not working
Hi, We would like to use a couple of tools (or are already using them). At the moment we’re discussing how and where to install the different tools. In the README.ZOS files I found the paths /rsusr/rocket and /rsusr/ported to be the main paths. We want to avoid to break dependencies between the various products. Is it important to have rocket and ported separated or is one of them some kind of legacy? Is there some way to remove a specific version/product from all the subfolders in the ported or rocket folder? Are there plans to provide other/additional ways for installation and maintenance (for example z/OSMF Workflows)? Thanks, Stephan
I was wondering if anyone had an example using Bzip2 in batch on Z, to compress an MVS data set(PS, VB)
Hi. Maybe a codepage issue but I suspect a tagging issue. VIM fires up fine and text is readable; autoconvert is on. However, I get hex interpreted data in the midst of it. Control codes like colon work. ~m50;83H0,0-19CAll20;42HVIM - Vi IMproved22;44Hversion 8.0.2223;39Hby Bram Moolenaar et al.24;29HVim is open source and freely distributable26;36HHelp poor children in Uganda!27; . . . I assume I buffaloed something along the way. Is it likely a mis-tagged file? Our system is running IBM-037; there’s some code in /etc/profile to set that up. Thanks.
Hey all - I’m wondering if I need to do some tweaking on this diffutils_checking.sh. I have installed my diffutils code under /u/ROCKET/diffutils and the checking.sh is under /u/ROCKET/diffutils/bin . I do a cd to that dir and try to execute ./diffutils_checking.sh but I get FSUM5371 not found. I go in and edit the shell, changing the TOTAL_PATH from /rsusr/rocket to /u/ROCKET/diffutils and still have the error. Be gentle…I’m still very new to this stuff! How do I get this working? Thanks! Deb
I’m trying to install bison on my z/os system. I only see one file bison-2.3_b0009.160825.tar.gz and no readme for z/os. What are the correct commands for installing bison? Thanks, Deb Cosentino
The README.ZOS has the comment Extra space savings arise if you download the combined release from the I would expect 3 downloads for python 2.7 & 3.6 & both I do not see a combined release
Regarding Universe for both Linux and Windows, what are the timelines for Python 3.7 and later? The current Personal Edition of Universe for Windows is using Python 3.4.1 which is rather long in the tooth.
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.