Sponsored Content
Top Forums UNIX for Advanced & Expert Users FTP issues between mainframe and UNIX Post 302352675 by hareeshkumaru on Saturday 12th of September 2009 06:20:50 PM
Old 09-12-2009
I am trying to ftp a dataset that looks like this in mainframes
Quote:

00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000007103103225414200000071031R11 approved for reversal per Andrew.Kun00000071031
00041161058B.A.R.T.E.R / AMC / FLC 0984000040600293868638900000020592004195945500000205920R11 reversal approved per TSS BA, Andrea00000205920
00041161058B.A.R.T.E.R / AMC / FLC 0984000040600885054738900000019712004195949200000197120R11 reversal approved per TSS BA, Andrea00000197120
00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000001428004201667800000014280R11 approved for reversal per Andrew.Kun00000014280
but i get it as

Quote:
00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000007103103225414200000071031R11
approved for reversal per Andrew.Kun00000071031
00041161058B.A.R.T.E.R / AMC / FLC 0984000040600293868638900000020592004195945500000205920R11
reversal approved per TSS BA, Andrea00000205920
00041161058B.A.R.T.E.R / AMC / FLC 0984000040600885054738900000019712004195949200000197120R11
reversal approved per TSS BA, Andrea00000197120
00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000001428004201667800000014280R11
approved for reversal per Andrew.Kun00000014280
that is all data after column 105 comes in a new line...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

USS (unix) on the Mainframe

Does anyone work with USS on an IBM Mainframe computer on this msg board? (2 Replies)
Discussion started by: Javagate
2 Replies

2. Shell Programming and Scripting

mainframe FTP error

Hi when i am trying to ftp to a newly cretaed mainframe GDG for the first time,i am getting the following error... Verbose mode on. 200 Representation type is Ebcdic NonPrint 200 Port request OK. 550-SVC99 Return code=4 S99INFO=0 S99ERROR=38668 HEX=970C S99ERSN code X'00004379'). 550... (1 Reply)
Discussion started by: sam99
1 Replies

3. HP-UX

ftp from unix to mainframe

hi suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies

4. UNIX and Linux Applications

ftp from unix to Mainframe

suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies

5. UNIX for Advanced & Expert Users

ftp file from unix to mainframe

thanks (2 Replies)
Discussion started by: ashishabhishek
2 Replies

6. UNIX for Dummies Questions & Answers

FTP'ing EBCDIC Characters from Mainframe

Hi All, I am new to this site, I have a requirement where in i have to FTP a file from mainframe to Unix box. The catch here is there are few Spanish characters like N with tilde(~) and a with ` etc., all other characters are coming fine but those mentioned above are not coming in a proper... (1 Reply)
Discussion started by: harikiranr
1 Replies

7. Shell Programming and Scripting

FTP files to target Mainframe system

Hi Experts... Greetings for the day..! I just want to FTP the files to mainframe system.. my code is not working..and also i need to put the files in a particular directory in a specific naming format... ftp -i -n ${HOST_NAME} << END_FTP user ${USER_NAME} ${PASSWORD} put ${FILE_NAME}... (3 Replies)
Discussion started by: spkandy
3 Replies

8. UNIX for Dummies Questions & Answers

UNIX sftp from mainframe

I have the following UNIX script which copies a file from a UNIX server in Canada to a UNIX server in the UK. LOG=/data/proj/sftp/canada.log DAT=`date "+%d/%m/%y %H:%M"` HOMEDIR=/data/proj/sftp TGTFILE=P_DATA.csv cd $HOMEDIR echo "\nStarting retrieval of Canadian Data at $DAT" >> $LOG ... (1 Reply)
Discussion started by: mishnok
1 Replies

9. UNIX for Dummies Questions & Answers

Sftp from UNIX to mainframe

Hi, I have many scripts where i have used sftp for file transfer from unix box to unix box.. Now that we have to sftp files from unix to mainframe, i would like to know if that is possible. I just tried in the same way i did from unix to unix, but i got the error as connection refused. Are... (2 Replies)
Discussion started by: dnat
2 Replies

10. Shell Programming and Scripting

FTP from AIX to Mainframe

Hi All, This is the scenario:- I am writing a script to automate FTP files from AIX to Mainframe. ( Binary mode, passive connection) FTP the currently available files(poll a directory to find the list) and put it to mainframe in one connection instance Verify if all the files are copied... (24 Replies)
Discussion started by: TechGyaann
24 Replies
play_memory_fli(3alleg4)					  Allegro manual					  play_memory_fli(3alleg4)

NAME
play_memory_fli - Plays a FLI or FLC animation from memory. Allegro game programming library. SYNOPSIS
#include <allegro.h> int play_memory_fli(const void *fli_data, BITMAP *bmp, int loop, int (*callback)()); DESCRIPTION
Plays an Autodesk Animator FLI or FLC animation on the specified BITMAP, reading the data from a copy of the file which is held in memory. You can obtain the `fli_data' pointer by allocating a block of memory and reading an FLI file into it, or by importing an FLI into a grab- ber datafile. If `loop' is not zero, the player will cycle when it reaches the end of the file, otherwise it will play through the anima- tion once and then return. Read the beginning of chapter "FLIC routines" for a description of the callback parameter. Playing animations from memory is obviously faster than cuing them directly from disk, and is particularly useful with short, looped FLI's. Animations can easily get very large, though, so in most cases you will probably be better just using play_fli(). You can think of this function as a wrapper on top of open_memory_fli(), next_fli_frame() and close_fli(). Example: int ret = play_memory_fli(anim_data, screen, 0, NULL); if (ret == FLI_ERROR) abort_on_error("Corrupted animation data?"); RETURN VALUE
The FLI player returns FLI_OK if it reached the end of the file, FLI_ERROR if something went wrong, and the value returned by the callback function if that was what stopped it. SEE ALSO
play_fli(3alleg4), install_timer(3alleg4), fli_frame(3alleg4) Allegro version 4.4.2 play_memory_fli(3alleg4)
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy