Continuation in SYSIN card

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
vrdhrjnbb
Member
Posts: 10
Joined: Fri Jul 12, 2013 6:00 pm

Continuation in SYSIN card

Post by vrdhrjnbb » Tue Sep 03, 2013 3:08 pm

Hi all,

//SYSIN DD *
COPY FROM(IN01) TO(OUT01,OUT02,OUT03,OUT04,OUT05,OUT06,OUT07,OUT08)

My Question is how to continue the function of SYSIN card on next line.

Jcl works fine, when the SYSIN card is in single line... i.e I can copy upto OUT08.. If I want to copy 20 more file means, how to conjecture it on next line?? please help me on this .


Thanks in advance

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Tue Sep 03, 2013 6:39 pm

Have you tried looking at your DFSORT/SyncSort manual?

User avatar
vasanthz
Member
Posts: 9
Joined: Tue Aug 27, 2013 7:35 pm
Location: Chennai

Post by vasanthz » Tue Sep 03, 2013 8:26 pm

Vasanth.S

Please support http://my.charitywater.org/pewdiepie

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Tue Sep 03, 2013 11:56 pm

Have you tried looking at your DFSORT/SyncSort manual?
or the manual for whichever program you are executing. Different programs have different rules.
Regards
Nic

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Wed Sep 04, 2013 12:38 am

Nic, it is an ICETOOL COPY Operator. Come to think of it, SyncSort don't document SyncTool. Vasanthz is on the case anyway.

vrdhrjnbb
Member
Posts: 10
Joined: Fri Jul 12, 2013 6:00 pm

Post by vrdhrjnbb » Wed Sep 04, 2013 10:48 am

Hi all,

Thank for your reply.

Below find the error, which I am getting.

ICE632I 0 SOURCE FOR ICETOOL STATEMENTS: TOOLIN


ICE630I 0 MODE IN EFFECT: STOP

COPY FROM(IN01) TO(OUT01,OUT02,OUT03,OUT04,OUT05,OUT06,OUT07,
$
ICE604A 0 ERROR IN KEYWORD, PARAMETER, OR DELIMITER
ICE602I 0 OPERATION RETURN CODE: 12

ICE630I 2 MODE IN EFFECT: SCAN

OUT08,OUT09,OUT10,OUT11,OUT12)
$
ICE614A 0 INVALID OPERATOR


ICE601I 0 DFSORT ICETOOL UTILITY RUN ENDED - RETURN CODE: 12


---------------------------------------
Thanks

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Wed Sep 04, 2013 11:24 am


vrdhrjnbb
Member
Posts: 10
Joined: Fri Jul 12, 2013 6:00 pm

Post by vrdhrjnbb » Wed Sep 04, 2013 1:27 pm

willaim,

when I coded like this, it gives RC=12..

COPY FROM(IN01) TO(OUT01,OUT02,OUT03,OUT04,OUT05,OUT06,OUT07, -
OUT08,OUT09,OUT10,OUT11,OUT12)

but when I coded lke below, I get the exact result with RC=0,

COPY FROM(IN01) TO(OUT01,OUT02,OUT03,OUT04,OUT05,OUT06,OUT07)
COPY FROM(IN01) TO(OUT08,OUT09,OUT10,OUT11,OUT12)

Every line have to begin with COPY FROM(IN01) TO(XXXX,XXXY) ... is it so??

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Wed Sep 04, 2013 5:31 pm

If you use the code tags to preserve the spacing we might be able to tell you. As it shows here COPY cannot start in column 1 and (I am not sure about this) continuations hav to start in column 16 - not column 1.
Regards
Nic

User avatar
vasanthz
Member
Posts: 9
Joined: Tue Aug 27, 2013 7:35 pm
Location: Chennai

Post by vasanthz » Thu Sep 05, 2013 12:51 pm

Hello,
The ICETOOL manual says,
Continuation can be indicated by a dash (-) after the operator or any operand. Each operand must be completely specified on one line.

Code: Select all

Example:
COPY FROM(IN1) -
TO(OUT1,OUT2,OUT3) -
USING(ABCD)
In our case operator was "COPY" &
operands were "FROM" & "TO".

So it looks like operand(in this case "TO") has to be completely specified in a single line and thats the restriction enforced by ICETOOL.

Hope it helps.
Vasanth.S

Please support http://my.charitywater.org/pewdiepie

User avatar
vasanthz
Member
Posts: 9
Joined: Tue Aug 27, 2013 7:35 pm
Location: Chennai

Post by vasanthz » Thu Sep 05, 2013 12:59 pm

Nic,
As it shows here COPY cannot start in column 1 and (I am not sure about this) continuations hav to start in column 16 - not column 1.
Looks like ICETOOL's statements can start in column 1 and also the continuations can start in column 1. Just checked.

Regards,
Vasanth.S

Please support http://my.charitywater.org/pewdiepie

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others