Browse all forums dedicated to the Rocket Mainframe DevOps product family.
Recently active
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
I would like to use PHP 7 scripts to access DB2 on z/OS. Is it possible and if so, are there some config guidelines to make it work? I used to have access to DB2 when using PHP5 on the old Domini Go Webserver, but now using the Apache-based http-server I don’t seem to get things working. Regards, MarcO64
Are there any plans to implement PHP 7 for z/OS? This version contains many performance and usability improvements and would be a great addition to z/OS. Thanks.
Hi. I’ve encountered a couple of issues with the handling of ASCII and EBCDIC in PHP 7 (these examples work correctly in PHP 5). I have PHP 7 CGIs working successfully using the requires environment variables and IHS definitions but these specific situations don’t seem to correctly handle the conversion of character sets. The first is the exec() function. This can return an array of output generated by the externally called program. I have a PHP script calling a REXX script with the REXX returning multiple lines of output via the SAY statement. When the output arrives back to PHP it appears to be ASCII encoded EBCDIC and the array is not correctly populated. Here is the PHP script called exec1: #!/ported/php/bin/php-cgi <?php if($_GET["conv"]=="yes") $p=" | iconv -f IBM-1047 -t ISO8859-1"; else $p=""; $output=array(); exec("./exec2 input one".$p,$output,$rc); echo "RC=$rc"; echo "<br />output[0]=".$output[0]; echo "<br />output[1]=".$output[1]; echo "<br />output
While I have 40 years experience with standard MVS I still have problems understanding some of the language used in USS. The GIT release notes has a “Sample shell code (for .bashrc)” , the first line says # This must be sourced, not run Can someone explain to me what “sourced” means ? Regards, Gary
I am using rocket git port on z/OS. I’ve noticed that when I clone a repository and immediately run git st, the entire working tree is “modified”. Running ‘git diff’ indicates no changes, but the subsequent git st indicates a clean working directory. See attached screenshot for details. https://aws1.discourse-cdn.com/business7/uploads/rocketsoftware/optimized/1X/3457d2f9c93c294b5c32b31b12f863f23aefac65_2_1035x694.png 1.5x, https://aws1.discourse-cdn.com/business7/uploads/rocketsoftware/original/1X/3457d2f9c93c294b5c32b31b12f863f23aefac65.png 2x" data-small-upload="https://aws1.discourse-cdn.com/business7/uploads/rocketsoftware/optimized/1X/3457d2f9c93c294b5c32b31b12f863f23aefac65_2_10x10.png"> image.png1362×914 164 KB I thought it may be related to line-endings, but that does not seem to be the case. I have line-endings configured properly. user:git ls-files -s --eol 100644 1561467227212850a7cdb9af5e78d3d63fcca8dd 0 i/lf w/lf attr/text hello.c
Hi Folks, I seem to be getting a ‘BadZipfile’ error when I try to execute the following against any zip file. import zipfile if __name__=='__main__': zipped_path = './test.zip' z = zipfile.ZipFile(zipped_path) Gives the following - Traceback (most recent call last): File "zip.py", line 5, in <module> pdb.run('zipfile.ZipFile(zipped_path)') File "/etc/rocket/python-2017-04-12-py27/lib/python2.7/pdb.py", line 1238, in run Pdb().run(statement, globals, locals) File "/etc/rocket/python-2017-04-12-py27/lib/python2.7/bdb.py", line 400, in run exec cmd in globals, locals File "<string>", line 1, in <module> File "/test_python/zipfile.py", line 766, in __init__ self._RealGetContents() File "/test_python/zipfile.py", line 807, in _RealGetContents raise BadZipfile, "File is not a zip file" zipfile.BadZipfile: File is not a zip file Here is some info about my environment - >echo $_BPXK_AUTOCVT ON >echo $_CEE_RUNOPTS FILETAG(AUTOCV
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.