Questions tagged [omvs]

3 questions
1
vote
1 answer

FSUM7332 - expecting new line when using bpxwunix under z/OS

sftp 1216: FSUM7332 syntax error: got ), expecting Newline I've created a 'batch' file for sftp in REXX and have used the address syscall writefile to write out the data to the file. the sftp is invoked using bpxwunix thus: sftp -b batchfile…
Lionel B Dyck
  • 552
  • 2
  • 9
1
vote
3 answers

How to use CP to copy variable length datasets and pds members?

I've been trying to use cp under OMVS to copy z/OS datasets into OMVS files and the copy to OMVS seems to work but the copy back to z/OS fails miserably with multiple records combined. I don't see any cp option to support variable length records. I…
Lionel B Dyck
  • 552
  • 2
  • 9
0
votes
1 answer

Using BPXWUNIX to invoke sftp with a batch file - host not authenticating

Using this BPXWUNIX setup: cmd is set as: sftp -b /u/lbdyck/tmp/sftp.stdin userid@ftp.host.com x = bpxwunix(cmd,,so.,se.,env.) With an environment variable of: DISPLAY=NONE SSH_ASKPASS=/u/lbdyck/.ssh/sftp.sftpsh …
Lionel B Dyck
  • 552
  • 2
  • 9