I have written a REXX exec to inface to GIT.
Specifically I use BPXWUNIX to issue my commands. The issue I have is the output from the command is always in ASCII (ISO-8859-1). Forcing me the perform a conversion before I can read the results.
This doesn’t happen if I issue the command in OMVS.
I’ve tried using BPXWUNIX using redirection
eg x=BPXWUNIX('git status >output.txt',,,,,1)
and coding the stdout in the function call
eg x=BPXWUNIX('git status',,'output.',,,1)
I have my profile setup with
export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
export _BPXK_AUTOCVT=ON
export _TAG_REDIR_ERR=TXT
export _TAG_REDIR_IN=TXT
export _TAG_REDIR_OUT=TXT
Does anyone know how I can get the system/git to perform the conversion to EBCDIC before I get the output ?
Regards,
Gary

