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
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
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
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
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
thanks (2 Replies)
Discussion started by: ashishabhishek
2 Replies
6. UNIX for Dummies Questions & Answers
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
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
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
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
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
LEARN ABOUT DEBIAN
amc-imprime
AMC-IMPRIME(1) Auto Multiple Choice AMC-IMPRIME(1)
NAME
AMC-imprime - prints AMC multiple choice answer sheets to be distributed to the students
SYNOPSIS
auto-multiple-choice imprime --sujet subject.pdf --fich-nums numbers-file.txt --data data-dir --methode method
[where-to-print-arguments...]
DESCRIPTION
The AMC-imprime.pl command prints selected copies from a AMC multiple choice answer sheet.
What to print
The following arguments describe what to print:
--sujet subject.pdf
sets the subject file (prepared by AMC-prepare(1)).
--fich-nums numbers-file.txt
gives a file where the numbers of the copies to be printed are written (one number per line). If this argument is not given, all the
copies will be printed.
--data data-dir
gives the directory where data files are (see for example AMC-meptex(1)). The layout database in the data directory is used to know at
which page of the subject file each copy begins and ends.
Where to print
Several printing methods are currently defined:
o with "--methode CUPS", AMC-imprime.pl prints to a CUPS printer. One print job is sent for each copy, allowing for exemple to use
stapling. Use the following options with this method:
--imprimante printer
sets the CUPS printer name to print to.
--options cups-options
gives CUPS options, in the opt1=value1,opt2=value2,... format.
o with "--methode file", AMC-imprime.pl outputs the answer sheets to files (one for each copy).
--output filename
sets the filename for outputs. The '%e' sequence will be replaced by a 4-digits copy number. If filename does not contain '%e', the
string '-%e.pdf' will be added at its end.
o with "--methode command", AMC-imprime.pl will use a provided command for each copy.
--print-command command
gives the command to be used for printing. The command string will be split at each space character (even when using quotes...).
The sequence '%f' will be replaced by a PDF filename (containing the copy to print), and '%e' will be replaced by the copy number.
AUTHORS
Alexis Bienvenue <paamc@passoire.fr>
Main author
Jean Berard
Translation from French
Georges Khaznadar
Translation from French
COPYRIGHT
Copyright (C) 2008-2012 Alexis Bienvenue
This document can be used according to the terms of the GNU General Public License, version 2 or later.
Auto Multiple Choice 1.1.1 06/19/2012 AMC-IMPRIME(1)