Just for the archive and perhaps for some offline reader.
The continuation character is indeed, as Jantje pointed out, the '\'
but by default for codepage 1047 and not 273 we're using in germany.
Also the character can be placed somewhere at the end not usually at
80th position for instream STDIN.
So this leaves at least two choices
1. Switch to mode hex and enter x'E0' as a backslash (x'EC' is for cp273)
2. use iconv -t IBM-1047 -f IBM-273 ! /bin/sh (the '!' vary from codepage to
coderpage)
at first statement in your STDIN
I hope this helps someone in the future
Roland
-----Original Message-----
From: Schiradin,Roland HG-Dir itb-db/dc
Sent: Friday, January 26, 2007 7:49 PM
To: 'IBM Mainframe Discussion List'; '[EMAIL PROTECTED]'
Subject: RE: AOPBATCH Continuation character
Jantje,
at first thanks for your posting.
However it doesn't seems to work for me
----+----1----+----2----+----3----+----4----+----5----+----6----
+----7----+----8
//STEP010 EXEC PGM=AOPBATCH,PARM='sh'
//STDOUT DD SYSOUT=T
//STDERR DD SYSOUT=T
//STDIN DD *
ln -s /usr/lpp/db2/db2810/jcc/classes/db2jcc_license_cisuz.jar
db2jcc_license_c\
isuz.jar
gets
ln: FSUM6245 link to target "db2jcc_license_c\" failed:
EDC5111I Permission denied.
isuz.jar: FSUM7351 not found
The permission denied is fine as I choose a directy without
permission just to verify the continuation character.
I'll now also post to MVS-OE
Roland
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[EMAIL PROTECTED] On Behalf Of Jan MOEYERSONS
Sent: Monday, January 22, 2007 11:09 AM
To: [email protected]
Subject: Re: AOPBATCH Continuation character
>
>ln: FSUM6245 link to target "\" failed: EDC5111I Permission denied.
>db2jcc_license_cisuz.jar: FSUM7351 not found
>IIRC, it's the shell, not AOPBATCH, that deals with continuation
>characters.
>
>Try a backslash at the end of the line - although I'm not sure
how this
>will translate with fixed 80 column input - e.g.
>
>ln -s $/usr/lpp/db2/db2810/jcc/classes/db2jcc.jar \
> db2jcc.jar;
It is the back slash alright and it is the shell that is
dealing with it.
But if your input is fixed length (and it tends to be if it is instream
data in a JCL...) then the backslash has to go in exactly the
80th position.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html