Page 1 of 1

sysin input stream in more than two lines

PostPosted: Mon Jun 14, 2010 10:33 am
by kakes
is there any problem in putting sysin input stream in more than two lines.
for eg if iam writing
//SYSIN DD *
COPY INDD=SYSUT1,
OUTDD=SYSUT2
/*
// in IEBCOPY utility iam not getting the output.

Re: sysin

PostPosted: Mon Jun 14, 2010 10:54 am
by enrico-sorichetti
the manual will tell all You might want to know about the proper format for the control statements!
http://publibz.boulder.ibm.com/cgi-bin/ ... 0626223348

Re: sysin

PostPosted: Mon Jun 14, 2010 11:04 am
by steve-myers
The format of your COPY statement does not follow IEBCOPYs rules. If you are not seeing any output there is likely some other issue with your job which we cannot diagnose with what you have given us.

Re: sysin

PostPosted: Mon Jun 14, 2010 11:34 pm
by dick scherrer
Hello,

in IEBCOPY utility iam not getting the output.
You are getting diagnostic errors - which you chose to not post. . .

Posting "it didn't work" is just a waste of everyone's time. . .

d

Re: sysin

PostPosted: Fri Jul 16, 2010 8:57 am
by wangyang
Hello, i am new here,maybe you can try this.
/SYSIN DD *
COPY OUTDD=SYSUT2
INDD=SYSUT1
/*

Re: sysin

PostPosted: Fri Jul 16, 2010 9:47 am
by dick scherrer
Hello and welcome to the forum,

It is best to run a solution to ensure it works before posting it as a reply. . .

This:
/SYSIN DD *
COPY OUTDD=SYSUT2
INDD=SYSUT1
has at least 2 errors. . .

When posting a tested solution, it is best to use copy/paste rather than re-keyingthe info. . .