Sponsored Content
Top Forums UNIX for Advanced & Expert Users FTP issues between mainframe and UNIX Post 302352677 by hareeshkumaru on Saturday 12th of September 2009 07:11:39 PM
Old 09-12-2009
Hi Sanjay,
Please find the result of the command below

Quote:
cat -n T_vcs_ref_jun27.txt.090627091929
1 00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000007103103225414200000071031R11
2 approved for reversal per Andrew.Kun00000071031
3 00041161058B.A.R.T.E.R / AMC / FLC 0984000040600293868638900000020592004195945500000205920R11
4 reversal approved per TSS BA, Andrea00000205920
5 00041161058B.A.R.T.E.R / AMC / FLC 0984000040600885054738900000019712004195949200000197120R11
6 reversal approved per TSS BA, Andrea00000197120
7 00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000001428004201667800000014280R11
8 approved for reversal per Andrew.Kun00000014280
it shoudt have been

Quote:
1 00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000007103103225414200000071031R11 approved for reversal per Andrew.Kun00000071031
2 00041161058B.A.R.T.E.R / AMC / FLC 0984000040600293868638900000020592004195945500000205920R11 reversal approved per TSS BA, Andrea00000205920
3 00041161058B.A.R.T.E.R / AMC / FLC 0984000040600885054738900000019712004195949200000197120R11 reversal approved per TSS BA, Andrea00000197120
4 00041171967ARCO TOYS LTD. / FLC 0874000040600795927238900000001428004201667800000014280R11 approved for reversal per Andrew.Kun00000014280
I am also puzzled as to where the things are going wrong. :-(
 

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
LedgerSMB::DBObject::Asset_Report(3pm)			User Contributed Perl Documentation		    LedgerSMB::DBObject::Asset_Report(3pm)

NAME
LedgerSMB::DBObject::Asset_Report - LedgerSMB Base Class for Asset Reports SYNOPSIS
This library contains the base utility functions for creating, saving, and retrieving depreciation categories of asset depreciation and disposal reports. STANDARD PROPERTIES
id int Integer id of asset report report_date date Effective date of report gl_id bigint ID of GL transaction if applicable and approved. asset_class bigint ID of asset class for the report the assets are report_class int Integer of the report class desired. entered_by bigint Integer id of the individual who entered the report approved_by bigint Integer id of the individual who approved the report entered_at timestamp Timestamp the report was created approved_at timestamp Timestamp the report was approved depreciated_qty Number of units (production or time) depreciated dont_approve bool If true, do not approve, ever. submitted bool If true, submitted for approval METHODS
save Uses standard properties Saves report to the database. Sets ID. For each asset to be added to the report, we see: for each row, id_$row contains the asset id for that row. Let this be $id if asset_$id, the asset is added. Each asset also has: amount_$id dm_$id percent_$id get Gets report from the database. get_nbv Returns line items for the Net Book Value report. generate Properties used: * report_id int: Report to enter the transactions into, * accum_account_id int: ID for accumulated depreciation. approve Properties used: id For depreciation accounts, expense_acct must be set. For disposal accounts, gain_acct and loss_acct must be set. Approves the referenced transaction and creates a GL draft (which must then be approved. search Searches for matching asset reports for review and approval. Search criteria in properties: * start_date date * end_date date * asset_class int * approved bool * entered_by int Start and end dates specify the date range (inclusive) and all other matches are exact. Undefs match all records. get_metadata Sets the following properties: * asset_classes: List of asset classes * exp_accounts: List of expense accounts * gain_accounts: List of gain accounts * loss_accounts: list of loss accounts * disp_methods: List of disposal methods Copyright (C) 2010, The LedgerSMB core team. This file is licensed under the Gnu General Public License version 2, or at your option any later version. A copy of the license should have been included with your software. perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Asset_Report(3pm)
All times are GMT -4. The time now is 09:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy