Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

instream data allowed in procedure?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Harsha1525

New User


Joined: 22 Dec 2009
Posts: 24
Location: hyderabad

PostPosted: Thu Jan 31, 2013 12:42 pm    Post subject: instream data allowed in procedure?
Reply with quote

Hi,
I read "http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.ieab600/iea2b69089.htm" in above artcle it said like instream data not allowed in procedure but when i try practically it is working good. here is my code.

//SORTPR1 PROC
//SORT1 EXEC SORT
//SORTIN DD DSN=xxxxxx.SORT.INPUT,DISP=SHR
//SORTOUT DD DSN=xxxxxx.SORT.INPUT2,
// DISP=SHR
//SYSIN DD *
SORT FIELDS=(1,05,CH,D)
/*
// PEND
*******************************************
i am excuting this proc simply saying

STEP01 EXEC SORTPR1
I am using Z/OS . assuming it started allowing instream data. did I understand anything wrong here?
Back to top
View user's profile Send private message

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Thu Jan 31, 2013 2:20 pm    Post subject: Reply to: instream data allowed in procedure?
Reply with quote

Yes. You're with z/OS V1.13
Back to top
View user's profile Send private message
Harsha1525

New User


Joined: 22 Dec 2009
Posts: 24
Location: hyderabad

PostPosted: Thu Jan 31, 2013 2:40 pm    Post subject: Re: Reply to: instream data allowed in procedure?
Reply with quote

Gnanas N wrote:
Yes. You're with z/OS V1.13

Hmmm...thank you for your help. i did check i am in z/os 1.13 version . Now i am looking for the material which give me all the enhancements happened in the z/os 1.13 version. if you have any link can please share it is helpful to many. ofcourse I look in google/IBm site
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Thu Jan 31, 2013 2:41 pm    Post subject:
Reply with quote

http://ibmmainframes.com/viewtopic.php?t=53439
Back to top
View user's profile Send private message
Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Fri Feb 01, 2013 5:14 am    Post subject:
Reply with quote

If you would have used "PGM=SORT" instead of the SORT PROC you would have gotten an instream data error saying something like 'cannot contain DD * data'.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 01, 2013 1:23 pm    Post subject:
Reply with quote

http://publib.boulder.ibm.com/infocenter/ieduasst/stgv1r0/topic/com.ibm.iea.zos/zos/1.13/Simplification/zOS_V1R13_JES2_Batch_Modernization.pdf

In the future try to do some research yourself.
Back to top
View user's profile Send private message
Harsha1525

New User


Joined: 22 Dec 2009
Posts: 24
Location: hyderabad

PostPosted: Fri Feb 01, 2013 5:34 pm    Post subject:
Reply with quote

PeterHolland wrote:
http://publib.boulder.ibm.com/infocenter/ieduasst/stgv1r0/topic/com.ibm.iea.zos/zos/1.13/Simplification/zOS_V1R13_JES2_Batch_Modernization.pdf

In the future try to do some research yourself.

Thank you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us