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: 4648
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: 4648
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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