MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Max length of a parm

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A
View previous topic :: View next topic  
Author Message
madhuroyus
Beginner


Joined: 09 Jan 2006
Posts: 45
Topics: 14
Location: Bangalore

PostPosted: Mon Apr 03, 2006 5:01 am    Post subject: Max length of a parm Reply with quote

Hi,

I had faced two interview questions which i don't know.

1) what is the max length of a parm that we can pass from a jcl to a program.

2)what are all the ways we can pass memory from one cics prgm to another cics prgm apart from TSQ and DFHCOMMAREA.

Thanks
Madhu
_________________
Self confidence is something that says U will do it, when the rest of the world has exactly opposite view.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Apr 03, 2006 5:11 am    Post subject: Reply with quote

madhuroyus,

1. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/16.8.1?SHELF=&DT=20030423085347&CASE=

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
madhuroyus
Beginner


Joined: 09 Jan 2006
Posts: 45
Topics: 14
Location: Bangalore

PostPosted: Mon Apr 03, 2006 6:51 am    Post subject: Reply with quote

Hi Kolusu,

Thanks for your quick reply.

Can you please let me know the answer for second question.

Thanks
Madhu
_________________
Self confidence is something that says U will do it, when the rest of the world has exactly opposite view.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Apr 03, 2006 9:56 am    Post subject: Reply with quote

Just a quick follow-up to Question #1. Many folks seem to infer that because the JCL limit for the PARM= statement is 100 characters that the same is true for the program. That is not the case, as the program will accept a length much greater for the parameter(s).
Back to top
View user's profile Send private message
madhuroyus
Beginner


Joined: 09 Jan 2006
Posts: 45
Topics: 14
Location: Bangalore

PostPosted: Thu Apr 06, 2006 3:25 am    Post subject: Reply with quote

Hi Superk,

I couldn't understand the explanation you mentioned.

Can you please explain it clearly?

Thanks
Madhu
_________________
Self confidence is something that says U will do it, when the rest of the world has exactly opposite view.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Apr 06, 2006 3:31 am    Post subject: Reply with quote

Madhuroyus,

Superk Said:
Quote:

Just a quick follow-up to Question #1. Many folks seem to infer that because the JCL limit for the PARM= statement is 100 characters that the same is true for the program. That is not the case, as the program will accept a length much greater for the parameter(s).


The program can accept much greater length as parm thro' the linkage section (Whatever data you pass via linkage is called PARM). For example, when you call any sub-program - the amount of data that you normally pass via linkage will be > 100 bytes.

But JCL has a limitation - it cannot pass more than 100 bytes to the cobol program that it invokes.

Hope I'm clear.

Cheers,
Phantom
Back to top
View user's profile Send private message
madhuroyus
Beginner


Joined: 09 Jan 2006
Posts: 45
Topics: 14
Location: Bangalore

PostPosted: Thu Apr 06, 2006 3:33 am    Post subject: Reply with quote

Hi Phantom,

Thanks a ton.
Its very clear to me.

Can you please give me some info on my second question also.

Thanks
Madhu.
_________________
Self confidence is something that says U will do it, when the rest of the world has exactly opposite view.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Fri Apr 07, 2006 12:36 am    Post subject: Reply with quote

Madhu,

Using Pointers is one more option wherein you don't pass the entire bunch of data between two programs. Pointers are used to save the amount of memory used by a program and also to cut down on the amount of data transferred b/w two programs - finally to improve program efficiency/productivity.

I have seen few programs using this pointer concept - but was a bit lazy to explore on those. I will probably try to find out an example for you.

Thanks,
Phantom
Back to top
View user's profile Send private message
madhuroyus
Beginner


Joined: 09 Jan 2006
Posts: 45
Topics: 14
Location: Bangalore

PostPosted: Fri Apr 07, 2006 4:18 am    Post subject: Reply with quote

Hi Phantom,

Thanks for your efforts.

I know we can share memory thru DFHCOMMAREA,TSQ,TDQ and pointers, but I heard from interviwer that there is around 7 ways where we can share memory.

I will let u know in case if find more on this.

Thanks
Madhu
_________________
Self confidence is something that says U will do it, when the rest of the world has exactly opposite view.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group