thank you, I think this was a good idea.
If I simply print out lines of the tape into the SYSOUT within my Java program, it works... So the more I try I think that the problem has something to do with the TSO-command "allocate" that I am using to define the SORTIN of DFSort in Java.
I found out, that the allocation of the tape with my actual used command never works, whatever I try...
I tried:
alloc fi(sortin) da('TAPE.NAME()') reuse shr msg(2)
alloc fi(sortin) fi(SYS020) reuse shr msg(2) // SYS020 is the DD-Name of the tape, this does not work with a normal dataset, too
alloc fi(sortin) fi("SYS020") reuse shr msg(2)
alloc fi(sortin) fi("'SYS020'") reuse shr msg(2)
alloc fi(sortin) fi('"SYS020"') reuse shr msg(2)
alloc fi(sortin) da("SYS020") reuse shr msg(2)
alloc fi(sortin) da("'SYS020'") reuse shr msg(2)
alloc fi(sortin) da('"SYS020"') reuse shr msg(2)
alloc fi(sortin) fi(SYS020) reuse shr msg(2) // SYS020 is the DD-Name of the tape, this does not work with a normal dataset, too
alloc fi(sortin) fi("SYS020") reuse shr msg(2)
alloc fi(sortin) fi("'SYS020'") reuse shr msg(2)
alloc fi(sortin) fi('"SYS020"') reuse shr msg(2)
alloc fi(sortin) da("SYS020") reuse shr msg(2)
alloc fi(sortin) da("'SYS020'") reuse shr msg(2)
alloc fi(sortin) da('"SYS020"') reuse shr msg(2)
I cannot find anything about the syntax, I even do not know, if this is possible at all...
The error message I always get is:
CEE3250C The system or user abend U 023 R=NULL was issued.
From entry point CALL_DFSORT at compile unit offset +0000008E at entry
<> LEAID ENTERED (LEVEL 08/11/2010 AT 10.57)
<> LEAID IGNORED BY ABNLIGNR
<> LEAID PROCESSING COMPLETE. RC=0
and
ICE056A 0 SORTIN NOT DEFINED
From entry point CALL_DFSORT at compile unit offset +0000008E at entry
<> LEAID ENTERED (LEVEL 08/11/2010 AT 10.57)
<> LEAID IGNORED BY ABNLIGNR
<> LEAID PROCESSING COMPLETE. RC=0
and
ICE056A 0 SORTIN NOT DEFINED
Regards,
Oliver