mainframe load directory
![]()
Hi,
while using mainframe ANT based builds within RTC V 6.0.2, we dont see Load directory (teamz.scm.fetchdestination) getting all files from RTC component.
Is that expected behaviour ?
IS the load directory behaviour different between distribtued and mainframe ?
|
5 answers
![]()
I assume you're using a build template z/OS dependency build.
Here's how it works, and yes it's a bit different from distributed because we have a way to recognize MVS content from USS content. What's loaded on USS: In the build definition, in the tab Jazz Source Control, there is a check box "load workspace to the load directory at the beginning of the build" If it is unchecked, nothing will be loaded on USS. If it is checked: All the projects that are not zComponent Projects (e.g. Java projects) will be loaded fully in the load directory. For the projects that are zComponent Projects, everything will be loaded, except the folder zOSSrc and its subfolders. These ones are meant to be loaded on MVS, in the Resource Prefix (each folder under zOSSrc is pointing to a data set definition). Thanks, Nicolas |
![]()
Hi Nicolas,
Thanks for the response !
We are already trying the dependency builds for the first time with the option you mentioned above, but running into Jazz Build Toolkit compatibility related error, which we are following as PMR with IBM separately.
I will keep you posted on this thread, once that issue is resolved and we are able to run Dependency build.
Is this option not available in any of the other build definitions for zOS ?
|
![]()
Hi Nicolas,
We are able to get the file now in unix filesystem of mainframe, however file-contents have got converted into some junk characters.
When we do 'cat' on the file on mainframe, it does not show what we had typed-in before delivering to RTC.
Is there any character encoding issue here ?
|
![]()
Hi Nicolas,
Here is the output of the 'Cat' command which we are executing as part of the 'Post-build' action.
As your can see below, the file contents are not readable, whereas in RTC, the it is readable line.
SCRIPT cat /tmp/Sudesh/Java/non-zOSsrc-Folder/java/SampleFile.java
* èÇÑËÑËË/_ø%ÁÃÑ%Á
IN RTC, this is what file contains:
/*This is sample file*/
Comments On z/OS, the default code page is EBCDIC. For members in PDS, you certainly want to load the text content in EBCDIC. For the files on USS, it depends, and we offer options to load either in EBCDIC or ASCII.
Hi Nicolas,
Thank you very much for the answer !
we have non-zOS component under the zcomponent. ( is that restriction in first place) ?
secondly, we are using RTC V6.0.2, so does above still hold good ?
Thirdly, how to set the property of mvscodepage ? does it need to be set on every file using command line ?
I have tried various ZLANG values as build property but none of them actually help.
sorry, let me correct a statement,
We have non-zOS folder under zComponent.
|