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
 

 

Can we pass a file from sysin dd * or parm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
ipavan

New User


Joined: 12 Jun 2005
Posts: 28
Location: Hyderabad

PostPosted: Wed Jul 20, 2005 9:46 pm    Post subject: Can we pass a file from sysin dd * or parm
Reply with quote

1. I have created a gdg in the first step and i want to use it as output file in the second step. i mean , i want to write the output of my second step into the gdg created in the first step.

2. how frequently passwords are changed in real time environment for a user.

3. can we pass a file from sysin dd * or parm.
I have got a reply from forum that we can do it as
sysin dd *
lib'xxxx.yyy.zzzz'
//

if the above is true how to use the file xxxx.yyy.zzzz in the cobol program, i mean how to capture the file in cobol program.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed Jul 20, 2005 9:57 pm    Post subject: Re: Help me
Reply with quote

Hello ipavan,

Quote:
1. I have created a gdg in the first step and i want to use it as output file in the second step. i mean , i want to write the output of my second step into the gdg created in the first step.

You should use GDG(+1), DISP=MOD in second step O/P DSN.

Quote:
2. how frequently passwords are changed in real time environment for a user.

Think it should be different from organization to org'n.....Is there any standard time period ?....

Quote:
i mean how to capture the file in cobol

Means what ?

Regards,

Priyesh.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Thu Jul 21, 2005 12:42 am    Post subject: Re: Help me
Reply with quote

ipavan wrote:
3. can we pass a file from sysin dd * or parm.
I have got a reply from forum that we can do it as
sysin dd *
lib'xxxx.yyy.zzzz'
//

if the above is true how to use the file xxxx.yyy.zzzz in the cobol program, i mean how to capture the file in cobol program.


I'm with Priyesh. What exactly are you trying to do with this logic? Are you passing the name of a dataset to a program? Or, are you trying to pass the contents of a dataset?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Thu Jul 21, 2005 12:45 am    Post subject: Re: Help me
Reply with quote

ipavan wrote:
2. how frequently passwords are changed in real time environment for a user.

Sarbanes-Oxley, SAS-70, HIPAA, and other legislation have made the limit to be typically no more than 90 days. Most shops have always set a 30-day limit.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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