All Questions
40 questions
1
vote
2
answers
736
views
Read File from PATH in Cobol as UTF-8
In an experimental feature exploration, I found some astounding behaviour when I try to load a Unix file that is UTF-8 on a mainframe system using Cobol and declaring the FD record as Unicode ...
-1
votes
1
answer
652
views
caret ^ is converting to some special symbol
I'm transferring the file which has the content like below from mainframe system to a Unix instance. I've a delimiter in the file as ^&*. I'm sending the same in mainframe but when we receive the ...
2
votes
1
answer
862
views
Does a call to BPXBATCH from JCL use the priority of the batch job or is priority in OMVS independent?
I am calling a shell script that does some processing from JCL using BPXBATCH like this:
//STEP2 EXEC PGM=BPXBATCH,
// PARM='SH PATHTOSCRIPT....
0
votes
3
answers
304
views
Mainframe Unix Codepage for SYSPRINT or SYSOUT direct display
Hello this my first question to StackOverflow, not sure about the forum and topic.
While participating in an Open Mainframe initiative using Visual Studio Code and Putty for Unix I developed a sample ...
1
vote
1
answer
976
views
BPXBATCH utility in z/OS - executing a jar file
i want to invoke a jar file from MF and then read and copy the data in Mf datasets.
BPXBATCH utility can help to achieve this through OMVS, how can i login in MF unix server, i tried giving OMVS but ...
2
votes
4
answers
4k
views
iconv to convert Mainframe EBCDIC file to Unix readable format writes data in one single row
I am trying to convert Mainframe file to Unix readable format using below iconv command.
iconv -f IBM-037 -t ISO8859-1 FileA > FileB
This command converts data as expected, but writes output data ...
0
votes
1
answer
287
views
How can I verify a job submitted to z/OS using FTP has completed?
Is there a way to be notified or query when the job has completed if a job submitted to z/OS using FTP from a distributed platform ?
I am using JESINTERFACELEVEL=2
This is the FTP code used and ...
0
votes
1
answer
352
views
message when using find command parmeter -cmin or -mmin " FSUM6372 Unknown option "-cmin" "
while trying to find the file in mainframe server which create last 10 minutes it shows error like
"FSUM6372 Unknown option "-cmin"
Usage: find directory ... expression"
it not accept the -mmin , -...
0
votes
1
answer
1k
views
How to display users in z/os Unix group?
I'd like to display the users assigned to a Unix group in z/OS. On other platforms one of these commands would work, but they aren't available in USS:
members
lid
getent
How can I do this from the ...
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
2
answers
3k
views
FTPS for transferring file from unix to mainframe
I am looking for JCL Script/Procedures in mainframe which can facilitate file transfer from Unix server to Mainframe.I am required to do FTPS for the Outbound Jobs (pull the file from UNIX server to ...
3
votes
4
answers
4k
views
Download mainframe files to Unix with SFTP in binary mode
I want to download a file from Mainframe server to Linux machine using SFTP command and want to preserve EOL. It seems that the actual file does not have EOL character, where as SFTP process adds EOL ...
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, ...
1
vote
2
answers
12k
views
EBCDIC to ASCII Conversions
I have mainframe file in EBCDIC format and I want to convert those files into ASCII format.
I have tried converting EBCDIC to ASCII using python 2.6 but there are many issues in that like compression ...
1
vote
2
answers
592
views
Download a binary file from a z/OS UNIX System Services (USS) file system
I have a file in UTF-8 encoding with a certificate on z/OS in a UNIX file system and I would like to download it using a secure protocol.
I tried to download it using scp but the encoding has been ...