Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 790
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: 790
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: 2468
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 Array in Cobol Db2 Stored Procedure Ashishpanpaliya DB2 4 Wed Jan 09, 2019 3:06 pm
No new posts MQ-DATA-LENGTH is ZERO on MQGET Daniel Prosser Java & MQSeries 5 Tue Dec 18, 2018 5:41 pm
No new posts To get the count of PDS data sets whi... Vignesh Sid JCL & VSAM 4 Fri Nov 30, 2018 8:38 pm
No new posts DB2 - loading data Joshua1066 DB2 5 Sun Nov 18, 2018 4:58 am
This topic is locked: you cannot edit posts or make replies. DFSORT output in CSV for data spans i... hiravibk DFSORT/ICETOOL 3 Tue Nov 13, 2018 7:55 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us