Browse all forums dedicated to the Rocket Mainframe DevOps product family.
Recently active
May i know how to connect from mobile app to office server universe database? any guide i can refer? web services?
Here’s a sequence of commands I just entered in USS: 14:38 /u/tstjv > ls file t IBM-1047 T=on -rwxr-xr-x nl 1 5 Apr 6 14:38 file 14:38 /u/tstjv > sed -i 's/f/p/g' file 14:39 /u/tstjv > ls file - untagged T=off -rwxr-xr-x ---- 1 5 Apr 6 14:39 file As you can see, the EBCDIC encoding is lost. Does anybody know what’s going on? Thanks. Edit: command -v sed yields /rsusr/ported/bin/sed.
Being no GIT expert, I can only assume that GIT stores it data internally in ASCII. I’ve come to this conclusion because of the information in the .gitattributes file eg * working-tree-encoding=ibm-1047 git-encoding=iso8859-1 .gitattributes working-tree-encoding=iso8859-1 git-encoding=iso8859-1 Through trial and error I’ve found that its the “GIT ADD” that uses the info in .gitattributes. But what about “GIT CHECKOUT” ? If I delete .gitattributes, shouldn’t the file come back in ASCII ? As there is nothing telling GIT is should convert it to EBCDIC. This doesn’t seem to be the case. But I don’t understand why not. Regards, Gary
I’ve been doing some testing of the Curl package which you provide for z/OS, and have found it uses significantly more CPU time and is significantly slower than the zLinux build of Curl provided with RHEL7. Does anyone have any idea why there is such a significant difference? In all cases, the test are being run on the same z13 Mainframe, be it running under z/OS or zLinux. z/OS $ curl -V curl 7.42.1 (i370-ibm-openedition) libcurl/7.42.1 OpenSSL/1.0.2c zlib/1.2.8 iconv libssh2/1.4.3 nghttp2/1.0.1 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: IPv6 Largefile NTLM NTLM_WB SSL libz CharConv TLS-SRP HTTP2 UnixSockets Metalink $ time curl http://www-cls/mhdata/megafile -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3647M 100 3647M 0 0 40.5M 0 0:01:29 0:01:29 --:–:-- 39.5M real 1m29.98s user 1m 6.90s
Hi all, I've a doubt ... I remember, when I migrated V7R1M3C to V8R1M0A at some client, that the displays at HLLX REXX worked just fine ... I mean I'd a rexx with Say "Hello World" at some point and when it was triggerd this message appeard at HLLX STC. Now ... Today I'm with a V8R1M4 migration, in another client, and the same situation doen't work ... why? Have I forgot something or something else is needed. I can't see any display at all ... Only when I force an ABEND ... In this case I get the messages and correspondent HLLX STC ABEND ... Cheers, Joao#ChangeManZMF
Hi all, This is my problem ... In spite of Pass Ticket failure when request to SERNET connection, CMNBATCH still logs to CMNDELAY file ... this obviously represente a problem from my point of view. I've tested this with zMF V8R1M4. Can anyone help me on this one, please ? Thanks in advance Joao#ChangeManZMF
For backout of a CMN zMF package there is no backout of the lower test regions. Is anyone out there currently have customization that performs backout/removal in the lower test regions? When we back out a package, there could still be some lingering objects in the lower test regions. We use 3 sites as parallel streams and sometimes users can start in the wrong stream/site, thus leaving objects around. We always recommend fixing forward, that is creating a package with the -1 version of each object in the package you want to back out, just for this reason of keeping all the lower regions clean. It would be nice to have a flag or choice as to when you really want to use this.#ChangeManZMF
I tried to install Perl 5.24 on z/OS using the instructions of the README.ZOS. So far so good. But when I wanted to test the installation I got the message: “The module libperl.so was not found”. First I checked the LIBPATH again. But the LIBPATH was OK. Then I searched the libperl.so in my installation directory by my self, but the only file I could found was a libperl.a under /mydirectory/lib/perl5/5.24.0/os390/CORE. Is there anything I forgot? The only instruction I have are the instruction of the README.ZOS. Thanks
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.
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.