All Questions
5 questions
1
vote
2
answers
2k
views
Compiling C Programs On z/OS Via The Shell In Unix System Services (USS)
I have a C file residing in the USS filesystem. My C file is pretty basic. It contains logic to print "Hello World". I execute: c89 [filename]
I get a return code (rc) of CCN0634(U). The same rc ...
0
votes
0
answers
475
views
Shell script to transfer file from Unix to Mainframe data set using Pentaho or Shell scripting
I want to transfer a .txt file from Linux Server to Mainframe dataset.
I am using Pentaho to create the file. But Pentaho's SFTP requires a File path and since Mainframe uses filename as File Path, ...
0
votes
3
answers
3k
views
How to send a binary (ebcdic format) file with variable blocks (each record has variable length), from a unix system to a unix mainframe through NDM?
This is my NDM script:
#!/bin/bash -x
#/cdunix/ndm/bin/ndmcli -x -e 4 << _EOF_
#sub maxdelay=unlimited statemnt process snode=$DEST_NODE
export NDMAPICFG=/home/drone/ndmscripts/ndmapi.cfg
...
0
votes
1
answer
433
views
Unable to access PDS in z/OS unix shell
I'm trying to copy a text file from within the z/OS unix shell to a PDS titled P2.OUTPUT($010), but whenever i run the command cp file.txt "//P2.OUTPUT($010)" i get an error stating that P2.OUTPUT(-...
0
votes
3
answers
6k
views
How to check the status of a CICS region through a JCL/Shell script(unix box)
I want to check the status of a Mainframe CICS region whether it is active or inactive by using a JCL or it is even better if one can suggest me a way to check the status of the CICS region through a ...