mainframe

spring integration sftp mainframe :failed to write file; nested exception is 3: Permission denied

馋奶兔 提交于 2019-12-02 05:09:39
问题 I am trying to sft file to mainframe using spring integration sftp:outbound-gateway: this is configuration: <sftp:outbound-gateway id="putGateway" session-factory="sftpSessionFactory" request-channel="sftpFileInputChannel" command="put" expression="payload" remote-directory="${remote.upload.directory}" remote-filename-generator-expression="'${remote.upload.filename}'" use-temporary-file-name="false" reply-channel="replayFromPutSftpChannel"/> where remote.upload.filename.credit.fmpl=/!DTS4.UP

spring integration sftp mainframe :failed to write file; nested exception is 3: Permission denied

*爱你&永不变心* 提交于 2019-12-02 01:31:16
I am trying to sft file to mainframe using spring integration sftp:outbound-gateway: this is configuration: <sftp:outbound-gateway id="putGateway" session-factory="sftpSessionFactory" request-channel="sftpFileInputChannel" command="put" expression="payload" remote-directory="${remote.upload.directory}" remote-filename-generator-expression="'${remote.upload.filename}'" use-temporary-file-name="false" reply-channel="replayFromPutSftpChannel"/> where remote.upload.filename.credit.fmpl=/!DTS4.UP.G3TRF.S60304 remote.upload.directory=/ I am getting exception like : Caused by: org.springframework

Screen scraping a mainframe screen in C# *without* 3rd-party utilities

偶尔善良 提交于 2019-12-01 21:21:33
I'm looking to screen scrape a 3270 mainframe application in C#, but I've got to do so without Attachmate or other 3rd party plugins. Are there free managed libraries to do so in C#? http://www.elink.ibmlink.ibm.com/publications/servlet/pbi.wss?CTY=US&FNC=SRX&PBL=GA23-0059-07 This is the document you are looking for if you plan on doing all of the heavy lifting yourself. It doesn't print out well but is the best source of information on the protocol. I am about to embark on this road myself (thanks to the federal government) and in less than two weeks I intend to have a completed application.

How to “sleep” in mainframe COBOL?

北城以北 提交于 2019-12-01 14:21:08
I think I'm using Enterprise COBOL for z/OS. What's a technique to emulate the functionality of, for example, the standard C library's sleep() function? Probably the easiest method is to use the Language Environment callable service CEE3DLY or CEEDLYM . Modern Coding I don't know whether you have found your answer or not. There is an IBM program that enables the machine to sleep ... or to wait : its name is ILBOWAT0 . Here is the link of a very good example on how you can code it : http://www.mvsforums.com/helpboards/viewtopic.php?t=2008&highlight=delay In this example, WAIT-TIME is in seconds

Variable with usage COMP in COBOL

本小妞迷上赌 提交于 2019-12-01 11:58:30
I am trying to understand how the COBOL variables with COMP Usage clause stores values. I tried one example as below 01 VAR14 PIC S9(5) USAGE COMP. MOVE 12345 TO VAR14 DISPLAY VAR14 In SPOOL the value of VAR14 is coming as 0000012345 . S9(5) COMP size is 4 bytes as per manuals so my understanding is VAR14 should be displayed as 000012345 . The binary representation as below: 0000 0000 0000 0000 0011 0000 0011 0100‬ Can someone please help in understanding the output value 0000012345 ? Thanks In IBM's Enterprise COBOL, there are four ways to define a binary field: COMP; COMP-4; BINARY; COMP-5.

Variable with usage COMP in COBOL

对着背影说爱祢 提交于 2019-12-01 10:43:25
问题 I am trying to understand how the COBOL variables with COMP Usage clause stores values. I tried one example as below 01 VAR14 PIC S9(5) USAGE COMP. MOVE 12345 TO VAR14 DISPLAY VAR14 In SPOOL the value of VAR14 is coming as 0000012345 . S9(5) COMP size is 4 bytes as per manuals so my understanding is VAR14 should be displayed as 000012345 . The binary representation as below: 0000 0000 0000 0000 0011 0000 0011 0100‬ Can someone please help in understanding the output value 0000012345 ? Thanks

Use C# to FTP file to mainframe including dataset - Translate FTP script to FtpWebRequest code

倾然丶 夕夏残阳落幕 提交于 2019-12-01 10:42:59
I use a cmd (Windows) to send file to an IBM Mainframe and works fine it's something like this: Open abc.wyx.state.aa.bb User Pass lcd c:\Transfer> Put examplefile 'ABCD.AA.C58FC.ABC1FD.ZP3ABC' close bye I need to convert this to C#. I have been trying using FtpWebRequest but no luck. I cannot figure out how include the dataset I guess. When I run the application I got the following error: ((System.Exception)(ex)).Message "The remote server returned an error: (550) File unavailable (e.g., file not found, no access)." 550 Unable to store The remote server returned an error: (550) File

Use C# to FTP file to mainframe including dataset - Translate FTP script to FtpWebRequest code

試著忘記壹切 提交于 2019-12-01 09:01:39
问题 I use a cmd (Windows) to send file to an IBM Mainframe and works fine it's something like this: Open abc.wyx.state.aa.bb User Pass lcd c:\Transfer> Put examplefile 'ABCD.AA.C58FC.ABC1FD.ZP3ABC' close bye I need to convert this to C#. I have been trying using FtpWebRequest but no luck. I cannot figure out how include the dataset I guess. When I run the application I got the following error: ((System.Exception)(ex)).Message "The remote server returned an error: (550) File unavailable (e.g.,

Downloading text files with Python and ftplib.FTP from z/os

走远了吗. 提交于 2019-12-01 05:46:36
I'm trying to automate downloading of some text files from a z/os PDS, using Python and ftplib. Since the host files are EBCDIC, I can't simply use FTP.retrbinary(). FTP.retrlines(), when used with open(file,w).writelines as its callback, doesn't, of course, provide EOLs. So, for starters, I've come up with this piece of code which "looks OK to me", but as I'm a relative Python noob, can anyone suggest a better approach? Obviously, to keep this question simple, this isn't the final, bells-and-whistles thing. Many thanks. #!python.exe from ftplib import FTP class xfile (file): def

What are the advantages of pseudo conversational vs conversational CICS programming?

孤者浪人 提交于 2019-12-01 00:10:00
问题 I am trying to understand the differences between pseudo conversational and conversational CICS programming. What are the advantages and disadvantages of each approach? 回答1: NealB's answer is a good one, and you should read IBM's description The main advantage pseudo conversational programs is reduced Computer resource usage and they can not hold Database locks. -------------------------------------------------------------- I am going to try and express the answer in Non IBM-Mainframe Terms