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
 
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: 4650
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: 4650
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
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Duplicate PARM on OUTFIL sancraig16 SYNCSORT 11 Thu Apr 05, 2018 10:25 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

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