Browse all forums dedicated to the Rocket Mainframe DevOps product family.
Recently active
git z/OS error: cannot run index-pack: EDC5129I No such file or directory Attempting command bash-4.3$ git clone --recursive git@github.com:xyz/abc.git results in the above error. echo $GIT_EXEC_PATH shows the directory containing index-pack. Adding the exports to my profile as suggested in an earlier post did not help. I can get a little further if I run the same “git clone” command from the /bin/ directory: remote: Counting objects: 30, done. remote: Compressing objects: 100% (3/3), done. remote: Total 30 (delta 0), reused 0 (delta 0), pack-reused 27 Receiving objects: 100% (30/30), 7.22 KiB | 0 bytes/s, done. Resolving deltas: 100% (8/8), done. Checking connectivity… done. error: cannot run submodule: EDC5129I No such file or directory. warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status’ and retry the checkout with ‘git checkout -f HEAD’ I assume a setup problem but can not find it. Any advice appreciated - thanks, Jim
I have started a bash (4.3 with level 018). Then I run just cvs (which is 1.11.23 with level 0004) without any arguments and get the usage information of cvs. Then I do: ls -ltr and I get $��(+葕 �����ˑ���_�)� as last line. This seems to be the prompt which is garbled now. Now, when I type anything it is garbled. Seems I am in ascii land. The shell is not usable any longer.
Hello, I found the following description in a Redbook. Apache Spark Implementation on IBM z/OS http://www.redbooks.ibm.com/redbooks/pdfs/sg248325.pdf 2.7 Spark R Spark R is an R package that provides a light-weight front-end to use Apache Spark from R. Spark R exposes the Spark API through the RDD class, and enables users to interactively run jobs from the R shell on a cluster. Rocket Software is in progress with a port of R to z/OS, and interested clients should contact either Rocket directly or IBM. I’d like to use R with Apache Spark on z/OS. Can we get Spark R library for z/OS? Do you have any documentation about how to use SparkR on z/OS? regards. Tomohiro Taguchi
Hi there, When installing curl, i.e. 7.52.1_b006.170926, I found other than curl related binaries in the curl bin/ directory, namely: k5srvutil kadmin kdestroy kinit klist kpasswd krb5-config kswitch ktutil kvno which on my Linux laptop belong to package krb5-workstation. Then xml related binaries xml2-config xmlcatalog xmllint which on my Linux laptop belong to package libxml2. Could anybody explain what the rationale here is? Thanks a lot, Manfred
Here’s a little script, call it mygit, that works for me on Ubuntu Linux: #!/usr/bin/bash git ${@} > mygit commit -m "Two words." [commit works; commit message is "Two words."] It doesn’t work on z/OS, though: #!/rsusr/ported/bin/bash git ${@} > mygit commit -m "Two words." error: pathspec 'words.' did not match any file(s) known to git. It looks like the array of input parameters is being passed to the git command as individual words, not as a proper array. How do I make this work?
When I try to use system symbols &LYYMMDD and &LHHMMSS as part of a data set name in a standard JCL stream, z/OS appears not to recognize them. For example, when I submit this job … //IEFBR14 JOB ,,CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID //* //IEFBR14 EXEC PGM=IEFBR14 //* //FILE DD DSN=TSTJV.D&LYYMMDD..T&LHHMMSS, // UNIT=3390,SPACE=(CYL,(1,1)), // DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=27920, // DISP=(NEW,CATLG,DELETE) … I get this message: IEFC627I INCORRECT USE OF AMPERSAND IN THE DSN FIELD The message description is unenlightening. I haven’t found anything in the documentation that says I need to do something special to make the symbols available. I see the symbols in a few places in ROCKET.USER.PROCLIB, but if I invoke my JCL as a proc, I get the same error
Hello! I’m looking for a way to create a Git repository on USS whose files are accessible in every way to all members of the group. I’ve tried setting chmod 775 and +s on the git directory and configuring the repository to have core.sharedrepository=group. However, at various points in Git processing (create a branch, push), we keep seeing file permissions errors. Is there a way to tell USS just to let everyone in the group do anything they like to any of the files in the directory? I’m thinking of something like members in a PDS that’s set up with RACF ALTER access. Thanks, Tony
If not, is there a good way to use TKinter with the ported Python? Thanks Joris
I installed CURL 7.52.1 on our mainframe z/OS 2.1 system and then tried to run a curl command for the first time using batch BPXBATCH. curl --verbose http://www.yahoo.com It got a message in the STDERR DD but it looks like this. " % < ? / ?? ?_ > " Thinking it may be ASCII coding instead of EBCDIC I tried using these environment parms which I saw in another post but it still gets the same RC and garbled info in STDERR. export CEERUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)" export BPXKAUTOCVT=ON Any ideas on what’s wrong here? Thanks.
I'm using the XML REXX interface to Changeman and have a problem with PACKAGE SEARCH GENERAL. Other types of requests work ok but with this I don't get any results. Thomas BergI'm tried in the request setting the SER1.component variable with a known component name and SER1.package = '*' and but no result. Looking in the manual I don't see any other requirements than SER1.package.#ChangeManZMF#XML#REXX
I have recently downloaded and installed the 5.24 version of Perl from the Rocket resources page. However I’m still missing a few Perl modules (the main being LWP). Normally on other OSes I would use cpan to download missing modules, but I can’t get it to work on z/OS. Does Rocket have z/OS specific perl module repository/packages that I can access and download from?
Hi, I’m attempting to install Python 3 and it was going well until the unpack step. Previous to this I downloaded and installed gzip, perl, and bash, all without any issues. After issuing gzip -d -c /dir/python-2017-04-12-py36.tar.gz | tar xoUXf - The command was accepted and appears to be running, my screen has been refreshing for an hour or more. It appears that each file that is unpacked or untersed is writing to my OMVS session, is that normal? Is it normal for this to run for longer than an hour? Including a snap shot of some of the output: #02#APPLYTO=next #07#TAGINFO=0 65535 ø,ÅËÂ/ÂÁ%-------ø--¬-%ÑÂøÈÇ?>—ËÑÈÁ-ø/Ä,/ÅÁËÂ/ÂÁ%%?Ä/%Á-À/È/ÊÏ,¬è!-À/È------- ----------------------------------------------ÍËÈ/Ê–&àç êê .â(íëáê------------- -øÈÇ?>------------ø–Ø-'É-ì ÈÁÊÊÑÈ?ÊÑÁËÉ-'É-ì À/ÈÁ¬ÃÑÁ%ÀËÉ-'É-ì-ÀÁÄÑ_/%¬Ã?Ê_/ÈËÉ ’É-ì :?>Á¬Ã?Ê_/ÈËÉ’É-ì->Í_ÂÁʬË_Â?%ËÉ-'É-ì-ÄÍÊÊÁ>Ĭ>/ÁËÉ ’É ’É-ìÑøÈËÉ %ÑËȬø/ÈÈÁÊ>ËÉ-'É-ì-Í>ÑȬÀÑËø%/¬>/_ÁËÉ-'É-ì-ÄÍÊÊÁ>ĬË_Â?%ËÉ Í>
We are considering adding Y/N option and fill in the blank fields to CMNUSR01 (Build user options) to include code review step (RDz headless Software Analysis) prior to compile and compile unit test step following compile. Any experiences with these processes to "force" code review and automate test setup, execution, compare, and cleanup? Thanks.#testcasemanagement#ChangeManZMF#Automation
It is always good to see that the batteries included in Rocket Python actually work… Here is an example on how to compress a MVS file into a zip file: from zipfile import ZipFile zf = 'mm.zip' fn = '//MM.PRINTS' fz = fn.lstrip('/') # remove '/' from the MVS file name with open(fn, 'r') as fd: qstr = fd.read() with ZipFile(zf, 'w') as zd: # zd.write(fn,fz) <- does not work because internally called # os.stat() does not find z/OS dataset zd.writestr(fz, qstr) print zd.printdir() This runs in Python 2.7.13, File must fit into 64 bit memory.
As we’ve implemented Git on z/OS right now, extended file attributes can be lost if you switch branches. You can maintain them with a post-checkout hook. The hook we’re using on the RDL project is: main: address syscall "chdir" toplevel() call bpxwunix "find . -type d",,stdout. do # = 1 to stdout.0 if \\starts("./.git", stdout.#) then "extattr -Fnl" stdout.#"/* 2>/dev/null" end exit 0 It sets the nl attribute recursively on all files that are not in .git directories. Edit: The toplevel function returns the result of a “git rev-parse --show-toplevel” command. The starts function returns a boolean indicating whether the second string starts with the first.
I’m getting a S0C4 when I invoke the ‘set’ command after invoking ‘bash’ with a .bashrc file present. The .bashrc file creates 4 aliases and sets and exports the PS1 environment variable. If I remove the file, the S0C4 does not occur. If I comment out (#) all the lines in .bashrc, the S0C4 does not occur. If I uncomment any one line, doesn’t seem to matter which, the S0C4 occurs. If I rename the .bashrc file to .bashrcx then invoke bash and enter ‘. ./.bashrcx’, all of the aliases and the PS1 variable get set. Then when I issue the ‘set’ command, I do not get a S0C4. There clearly seems to be an issue with using a .bashrc file at the invocation of bash. The .bashrc file is encoded IBM-1047. I’m trying to create an ISO-8859-1 version of the file to see if the issue still exists. Any thoughts appreciated.
Status: DeclinedThank you for the idea Lisa. At this time however, this isn't an enhancement we're in position to pursue as it would require a near rewrite of the Client Pack code base. Merge and reconcile tools would be available in the ChangeMan Serena Client Pack tool.
When I use back quotes or $(command) re-direct command output, the output is scrambled: $ date Fri Nov 17 12:41:35 EST 2017 $ d=date; echo $d Æ@Õ¥@ñ÷@ñòzôñzõó@Åâã@òðñ÷ I experimented with the following commands to no avail: export _TAG_REDIR_OUT=txt export _TAG_REDIR_OUT=txt
z/OS V2.1 R 3.3.2 I used fread() function provided by data.table package to read csv file. I got the following error when I tried to read a large csv file (about 5GB). Error in fread(fileName, header = FALSE, data.table = FALSE) : Opened file ok, obtained its size on disk (0.0MB), but couldn't memory map it. This is a 64bit machine so this is surprising. Please report to datatable-help. It’s ok when I use smaller file (about 1GB). Do you have any idea to solve this issue? Regards. Tomohiro Taguchi
Rocket is pleased to announce the pre-release of Vim 8.0.22 for z/OS. This port has been in use for a couple of months internally at Rocket by our developers, however we have not had time to run a full QA suite. Thus this is not considered GA quality. Please go to the Rocket Community Portal for download. -Peter
Hi, What about support of DB2 (or PDO DB2) in PHP 7 ? It’s not present in PHP 7.0.5 built b012… Thanks, Denis
I received the following abend immediately after executing bash: +CEE0374C CONDITION=CEE3204S TOKEN=00030C84 59C3C5C5 00000000 234 WHILE RUNNING PROGRAM CELHV003 AT THE TIME OF INTERRUPT PSW 078D2400 99A42246 GPR 0-3 0019EF2A 19E71C30 1969B29C 19E96678 GPR 4-7 19F28290 19E3F678 1969A2A8 99A4221A GPR 8-B 19E96678 19EA7F60 19E75838 19F28B77 GPR C-F 1969F188 19E95D20 000001E8 00000000 +CEE3798I ATTEMPTING TO TAKE A DUMP FOR ABEND U4083 TO DATA SET: etc. After a lot of searching I found out I had the following line in my /etc/profile that triggers this behaviour: LC_SYNTAX=En_Us.IBM-1047 Just decided to open this topic in case somebody else runs into the same situation.
Status: DeliveredDeliveredWhen the notification file is updated, the user will get a message 'NOTIFICATION UPDATED' on CMN@PRIM. We have changed the panel so that when the message appears, a .RESP=ENTER is forced to make sure people read the notification file. It would be nice to have this as a buildin admin option that when the file is updated and people enter into ZMF the file is displayed.When the notification file is updated, the user will get a message 'NOTIFICATION UPDATED' on CMN@PRIM. We have changed the panel so that when the message appears, a .RESP=ENTER is forced to make sure people read the notification file. It would be nice to have this as a buildin admin option that when the file is updated and people enter into ZMF the file is displayed.
Hi, I’m trying to implement PHP 7. I have managed to make it work in “CGI” mode, but I have an error that I can not analyze when I try to make it run in “FastCGI” mode: [error] [client 126.32.101.80] FastCGI: incomplete headers (115 bytes) received from server “/local/basepro/m4stats/php/php.fcgi”, referer: http://tmvs:8080/ In the previous version PHP 5, the two modes “CGI” and “FastCGI” were working. Both modes are very similar: PHP is executed through a shell script that declares the necessary environment variables and calls the PHP interpreter. In httpd.conf I said (excerpt): <Location /> CharsetSourceEnc IBM-1047 CharsetDefault ISO8859-1 </Location> AddType application/x-httpd-php .php LoadModule cgi_module modules/mod_cgi.so LoadModule fastcgi_module modules/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi FastCgiIpcDir /local/basepro/httpserv/fastcgi FastCgiConfig -autoUpdate -singleThreshold 100 -killInterval 3
Status: DeliveredDeliveredMake Vxx process variables standard available on panelsThe Vxx process variables should be made available on all entry points where they can be used via panels They should then also be made vailable in the client pack. Today we are still confronted with panel updates to allow us to use the Vxx process variables, as it is Serena's desire to prevent us from modifying the panels, the process variables should as such also be made available via standard panel processing.
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.