Browse all forums dedicated to the Rocket Mainframe DevOps product family.
Recently active
The following is for git repos on z/OS using git for z version 2.3.5. Our enterprise remote server is bitbucket v5.16.0 as of this writing. We are currently having encoding issues with bitbucket during PR merges; it is trying to encode from UTF-8 to ibm-1047 and failing, blocking any PR’s from being merged. An extract from our bitbucket logs: c.a.s.i.s.g.p.DefaultPullRequestAutoMergeStrategy CPDC/ci[6631]: Pull request 45@2 failed automatic merging: '/opt/git-2.19.0/bin/git merge -m Automatic merge --no-ff --no-log --allow-unrelated-histories cf734c8c560b13df7a76624b6296e4f75684f161' exited with code 0 saying: error: failed to encode 'NET#C/ciuba#c.cbl' from UTF-8 to ibm-1047 This issue was not present before and only began cropping up recently. Could this have something to do with the “working-tree-encoding” attribute now being used by distributed platforms like bitbucket server, and trying to convert to IBM-1047 on bitbucket server? We are currently running git 2.3.5 which does not h
It has been a long road today and I am going nowhere. I am reinstalling z/Open Source files after a install of z/OS 2.3. I strongly suspect that the tar file is being corrupted as it bounces around on its way to z/OS. Here are the steps I used. A download from the Rocket web site to my downloads file directory. A PC move from downloads to a desktop folder (for convenience) A Win/SCP BINARY (yes BINARY) transfer from my PC to a personal directory on z/os (/u/tech905.RocketOpen) The tar command is run (using the minimal instructions from the website AND from an example here in the forum) Both Get message tar: checksum error on tape (got 4355, expected 0) Of course, without gzip I cannot extract and test any of the other downloaded files. Is there a way to do a direct download from Rocket to z/OS? Where did this bouncing file get broken??
I have an API server running in my z/OS 2.3. If I use curl from OMVS to test the API I get the following error: /usr/lpp/ported/curl/bin>curl https://192.168.48.41:7050/zosConnect/apis -v -k --user ‘uuuuuuuu:pppppppp’ Trying 192.168.48.41… TCP_NODELAY set Connected to 192.168.48.41 (192.168.48.41) port 7050 (Ñ0) ALPN, offering h2 ALPN, offering http/1.1 Cipher selection: ALL:]EXPORT:]EXPORT40:]EXPORT56:]aNULL:]LOW:]RC4:@STRENGTH TLSv1.2 (OUT), TLS header, Certificate Status (22): TLSv1.2 (OUT), TLS handshake, Client hello (1): Unknown SSL protocol error in connection to 192.168.48.41:7050 Curl_http_done: called premature == 1 stopped the pause stream] Closing connection 0 curl: (35) Unknown SSL protocol error in connection to 192.168.48.41:7050 But if I use the curl in my Linux laptop, the response is correct: curl https://192.168.48.41:7050/zosConnect/apis -v -k --user ‘uuuuuuuu:pppppppp’ About to connect() to 192.168.48.41 port 7050 (#0) Trying 192.168.48.41… Connected to 192.
Does anyone know how to open a MVS dataset in python 3.6.1? And how to refer to a DD name in JCL? I have tried using open("//‘xxx.xxx.xxx’) and it returned ‘FileNotFoundError’ but the file is definitely exist! I can access the file in USS without any problem.
Has anybody ever been asked to have ChangeMan ZMF set up to invoke IBMs Fault Analyzer to check developer code during the audit process? Our developers use Fault Analyzer to sometimes check their program/transaction code and want to have it checked after they make their component changes via ChangeMan ZMF, but prior to the promote or install process. Just curious if anybody has tried it.#ChangeManZMF
I am started researching coding Cobol Object Oriented skeletons on Changeman ZMF and was wondering if other ZMF shops are using or preparing to use Cobol OO on ZMF systems. I checked with Serena support and they do not have skeletons defined for Cobol oo.#ChangeManZMF
Hi, We have installed GIT and the corequisite products for z/OS we are running version 2.12.0 bash-4.3$ git --version git version 2.12.0 It appears that I can create a local repo and it works ok, I can add code to it and it appears to track changes. But whenever I try to pull code from the Remote Repo I get the following error. bash-4.3$ git clone https://nbkbjwz@horizon.bankofamerica.com/scm/scm/bcc/bcc.git Cloning into ‘bcc’… fatal: bad config line 1 in file /u/user/nbkbjwz/test9/bcc/.git/config I believe the problem is related to the Bitbucket repo using UTF-8 we have all parameters set correctly and the Bash environment is established when we login to SSH. Using booth the profile and bash RC scripts. bash-4.3$ set BASH=/bac/usr/BOFA/git/bin/bash BASHOPTS=cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=
Hello, I’ve downloaded the Python files. I’m unsure what my next steps are. Do I upload these files into my USS file system someplace? I’m guessing that I have to create an aggregate to hold the files, not installed into root. How do I make the install, changes.zos and readme.zos files readable and formatted? I see in other questions that I might want to download ‘other’ software. Is the complete list of the apps I need documented someplace?
Hello, Would someone know how to get the following data? The environment is zOS mainframe. My programming language is REXX Language for zOS mainframe. Through Rexx language, it’s possible to get data coming from System Resource Manager Resource Control Table. For example, From RCTCLAS field we can get information about Long-term average CPU service used by this logical partition, in millions of service units per hour. From RCTIMGWU field we can get information about Workload Units available to MVS image when not running as VM guest From RCTCECWU field we can get information about workload units capacity by CEC. These data are related to one specific LPAR environment. It’s possible to get more detail about these fields reading IBM zOS MVS Data Areas manuals. Now, I am trying to get information of two data about LPAR GROUP MSU/H in use at any time. Average Unused MSUs/hour. I have tried to find out how to get these data reading the IBM MVS Data Areas manual but I haven’t been able to g
Startool FDM record collectionDeborah Delano guides us through record collections in Startool FDM#Announcement#ChangeManZMF#Videos#HowTo-BestPractice
Are these products compatible with a z13 and z14 ? Changeman ZMF v 8.1.1 COMPAREX V 8.7.1 MicroFocus zServer, Changeman interface v 2.20 Micro Focus Mainframe Access v 4.00 Thanks#ChangeManZMF
I am attempting to PUT a z/OS load module on a Linux system into a repository to be pulled later and run on z/OS. I am using curl -X PUT -k -u userid:passowrd -v -T --data-binary @/folder/Jzosfile.so “https://dnsname/path/filename” I get an error “curl: Can’t open ‘–data-binary’!”. Is this not a valid option on PUT? I see people asking questions about cURL POST with --data-binary but not PUT. Any suggestions on how to put a file in binary from cURL? I do it all the time FTP but what I am putting this do does not support FTP. Thank you
Hi, Can we use centralized repositories like on premesis Git server or bitbucket instead of using GitHub for git on Z/OS platform? Danish
Can somebody help me with the below: Is it possible to integrate IBM DBB with Endevor? If I host Git, can DBB use Endevor libraries in builds for doing Devops?
Hi everybody, I am trying to use Python statistical functions and getting the following error: raise NotImplementedError(‘cannot determine number of cpus’) that’s coming from the file /usr/lpp/python36/lib/python3.6/multiprocessing/context.py specifically from the lines 40-46 num = os.cpu_count() if num is None raise NotImplementedError(‘cannot determine number of cpus’) else: return num Is there a way to make statistical packages work? Or make os.cpu_count() return 1? Thanks in advance UPDATE: I was able to override os.cpu_count() with the function that always returns ‘1’. So multiprocessing can initialize now and stats packages seem to work now.
Hi, Is it possible to execute a MVS console commmand (ie, D IPLINFO) from a Bash script and get the output? I know I can use Java or even REXX, but plain old Unix is much easier for me Thanks!
Just a simple question. When DBtools 4.4.0 is going to be released? or actually, what other tools can we use to work with Unidata in an environment where the Unidata server is remote and shared with a lot of developers? And now that we have Python, what can we use to develop also in this new language inside Unidata? Thanks in advance
Not sure if this is a problem with our configuration or a problem with Git. But any git stash command is failing as seen here: gitstash.png931×338 5.43 KB This is with git version: 2.14.4_zos_b08 Anyone else having the same problem ? Regards, Gary
Our mainframe does not have direct access to the internet. Does anyone have a recommendation on the best way to close a github repository to z/OS with this being the case?
I’m attempting to open an MVS file with Python. I can do a: cat “//‘XXX.YYY’” and display the file just fine. However, I’m having trouble opening the file with Python. Pretty sure it has something to with needing to ESCAPE some of the characters in the file name Any ideas? Thanks,
I recently got Ansible working on zOS thanks to Rocket’s port of python and am looking to upload some ‘stuff’ to ansible galaxy (https://galaxy.ansible.com/) for people to use as an example. So far I’m thinking about uploading ‘cowsay’ but it would be nice if I uploaded something a little more useful. Would Rocket be opposed to having some of the OSS they have provided available on ansible galaxy? See here for discussion - https://github.com/ansible/ansible/issues/18555 I was thinking about starting with Rocket’s port of git and all of it’s dependencies. Edit: I also see there is an ansible-conda module (https://github.com/UDST/ansible-conda)
Status: DeclinedWe had initially considered this for the next major release (8.3). However, as we researched this further this would require major rewrite and likely break changes. I would like to see if Serena can modify the CHECKOUT function to include same SCAN feature that is on BUILD menu. This would allow SCAN for character strings and then use result of scan to easily CHECKOUT components from the SCAN list.I find that i do a SCAN for character string ofter for items i need to change and then need to leave scan function and use CHECKOUT for many of the same components identified in SCAN. I was thinking if Serena could add a SCAN feature to CHECKOUT processing it would make process of finding components and selecting into package for modification easier.
https://forum.rocketsoftware.com/t/colors-are-not-interpreted-correctly-when-using-git-diff/612 Similar to the above post, as we do not have less installed at our shop, I was looking for alternative pagers to set for git core.pager. I came across “more” and “pg”. When I set more as the pager, I get all sorts of funky output which seems to be “more” not interpreting the colors correctly(see below). image.png1164×225 10.4 KB When using ‘pg’ as the pager, the log looks like this: image.png1227×180 8.14 KB Is there any way to configure “more” so that it interprets colors correctly? I really like the scrolling functionality, pg is not intuitive to use.
HI I am trying to use git on our OMVS installation and I am having some trouble. I want to be able to push to and pull from our remote git server I was able to set up a ssh key and authenticate with ssh -T git@git.our-git-server.com I get the response FOTS2190 Failed to add the host to the list of known hosts (/u/tmp/.ssh/known_hosts). Hi myusername! You've successfully authenticated, but GitHub does not provide shell access. I pulled some code from my PDS to a unix file with cp then tagged it all as iso8859-1 with chtag -t -c iso8859-1 filename I created a git repo with the .gitattributes that the forum post hear recommends. I was able to do git init and git add and set the origin. However, when I try to do a git push or a git fetch I get the following error FOTS2190 Failed to add the host to the list of known hosts (/u/tmp/.ssh/known_hosts). fatal: protocol error: bad line length character: ▒▒▒▒ (/u/tmp is ~ ) btw i am using bash-4.3 as my shell and my git version is bash-4.3$ /
I’m new to PHP so apologies if I get the technicals incorrect here. I am attempting to server html pages containing php (5.4.4) from Apache Web Server 9.0.0.6 (z/os 2.2). I have followed the IBM Redbook (HTTP migrating to Apache - Chapter 12.5) about running php cgi scripts, I’ve hit errors and fixed them but I’m now at the stage where there appear to be no errors but the page displays as the source script rather that the expected php. Access log extract 21/Nov/2018:17:41:52 +0000¨ “GET /noSecurePhp/hello.php HTTP/1.1” 200 96 447157 + Error log extract 1066¨ dgw_compat=-1, ce=0 1066¨ should_translate_request returning OK 1066¨ implicit add on output: implicit_add=0 1066¨ xlate input filter not added implicitly because no input configuration available Screen contents /products/rocket/bin/php-cgi --php-ini /ihsconfig/ihs/ihsae001/cgi-bin/php.ini $SCRIPT_FILENAME If I amend the script to say only run php-cgi with no parms I see errors with PHP error.log extract 1147¨ dgw_compat=-1, ce=0 1
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.